mirror of
https://github.com/chatmail/core.git
synced 2026-04-25 01:16:29 +03:00
fix: Sort old incoming messages below all outgoing ones (#4621)
If the Inbox is fetched before the Sentbox (as done currently), messages from the Sentbox will correctly mingle with the Inbox messages in the end. So, this commit changes message ordering only if we already have processed outgoing messages, e.g. if we just sent them in the chat as described in #4621. Otherwise new incoming messages are displayed somewhere in the middle of the chat which doesn't look usable.
This commit is contained in:
5
test-data/golden/test_old_message_5
Normal file
5
test-data/golden/test_old_message_5
Normal file
@@ -0,0 +1,5 @@
|
||||
Single#Chat#10: Bob [bob@example.net]
|
||||
--------------------------------------------------------------------------------
|
||||
Msg#10: Me (Contact#Contact#Self): Happy birthday, Bob! √
|
||||
Msg#11: (Contact#Contact#10): Happy birthday to me, Alice! [FRESH]
|
||||
--------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user