Commit Graph

7 Commits

Author SHA1 Message Date
Patryk Osmaczko ac56bbdfdd fix(tests/nim): fix nim tests compilation 2023-01-13 11:52:47 +01:00
Jonathan Rainville 1216bdcc83 fix(nim-test): fix missing property in nim test message init 2023-01-12 16:55:07 -05:00
Jonathan Rainville 91c2e6d257 feat: use QuotedMessage object for replies to better show the replies
Fixes #7754
ok
2023-01-12 15:18:03 -05:00
Patryk Osmaczko bbc7da7c7d refactor: remove misleading APIs from message_model 2023-01-11 09:27:20 +01:00
Patryk Osmaczko fe4e14ff5b fix(chat/messages): set clock value for new messages marker
New messages marker had a clock value of "0" before. Since all
messages are inserted based on the clock value, new messages marker
would cause other "0"-valued clock items to be inserted after it,
effectively making chat header being displayed in the middle of the
chat.

Setting new messages marker clock value to the clock of the message it
points to solves the issue.

fixes: #8955
2023-01-11 09:27:20 +01:00
Patryk Osmaczko fa6f0dd2b7 fix(tests/nim): fix nim tests compilation 2023-01-11 09:27:20 +01:00
Patryk Osmaczko 7ede3389ff fix(chat): ensure messages ordering on model append/prepend
fixes: #8466
2022-12-21 10:32:46 +01:00