2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fixed build on non-Windows.

This commit is contained in:
23rd
2021-12-24 15:27:47 +03:00
committed by John Preston
parent fa4d1d72c4
commit 022249f235
3 changed files with 1 additions and 3 deletions

View File

@@ -2936,7 +2936,7 @@ void ApiWrap::preloadEnoughUnreadMentions(not_null<History*> history) {
void ApiWrap::checkForUnreadMentions(
const base::flat_set<MsgId> &possiblyReadMentions,
ChannelData *channel) {
for (const auto msgId : possiblyReadMentions) {
for (const auto &msgId : possiblyReadMentions) {
requestMessageData(channel, msgId, [=] {
const auto item = channel
? _session->data().message(channel->id, msgId)