2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build with GCC.

This commit is contained in:
John Preston
2022-01-29 12:47:20 +03:00
parent f6ff0f3b2c
commit 4e88ea970e
4 changed files with 0 additions and 7 deletions

View File

@@ -1183,9 +1183,6 @@ void Updates::applyUpdateNoPtsCheck(const MTPUpdate &update) {
auto unknownReadIds = base::flat_set<MsgId>();
for (const auto &msgId : d.vmessages().v) {
if (const auto item = _session->data().nonChannelMessage(msgId.v)) {
const auto unreadForPeer = item->isUnreadMedia()
|| item->isUnreadMention();
const auto unreadForMe = item->hasUnreadReaction();
if (item->isUnreadMedia() || item->isUnreadMention()) {
item->markMediaAndMentionRead();
_session->data().requestItemRepaint(item);