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:
iequidoo
2023-08-16 22:59:46 -03:00
committed by iequidoo
parent 0179ec2da9
commit 95b2a15930
3 changed files with 54 additions and 7 deletions

View 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]
--------------------------------------------------------------------------------