2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Process unread reactions to unknown messages.

This commit is contained in:
John Preston
2022-01-28 17:11:38 +03:00
parent 51c805d77a
commit 4e9a52343f
4 changed files with 39 additions and 0 deletions

View File

@@ -1872,6 +1872,7 @@ void Session::updateEditedMessage(const MTPMessage &data) {
return message(peerFromMTP(data.vpeer_id()), data.vid().v);
});
if (!existing) {
Reactions::CheckUnknownForUnread(this, data);
return;
}
if (existing->isLocalUpdateMedia() && data.type() == mtpc_message) {