Added logs for Shura to help me to debug a download attachment issue

This commit is contained in:
Blue 2022-01-15 15:36:49 +03:00
parent 296328f12d
commit 62a59eb7a1
Signed by: blue
GPG key ID: 9B203B252A63EE38
6 changed files with 14 additions and 3 deletions

View file

@ -86,7 +86,7 @@ void Models::MessageFeed::addMessage(const Shared::Message& msg)
emit newMessage(msg);
if (observersAmount == 0 && !msg.getForwarded()) { //not to notify when the message is delivered by the carbon copy
unreadMessages->insert(msg.getId()); //cuz it could be my own one or the one I read on another device
unreadMessages->insert(id); //cuz it could be my own one or the one I read on another device
emit unreadMessagesCountChanged();
emit unnoticedMessage(msg);
}