mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 02:56:07 +00:00
c9994b5d0f
The denormalized-clock-value was erroneously set to the one of the last message received. This meant that on chats were the clock-value raced ahead of the timestamp (#status), a message from the mailserver or a message from someone with an old clock-value would basically make those messages be sorted in the past. The correct behavior is that last-clock-value for a given chat should be the maximum last clock value ever seen for that chat. Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>