Fix chats
Fix chats where new messages would get shown twice when opening a chat for the first time after new messages were posted.
Fix chats where new messages would get shown twice when opening a chat for the first time after new messages were posted.