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

mediaview, audioplayer and profilewidget display united media in group and migrated supergroup

This commit is contained in:
John Preston
2015-11-16 19:04:37 +03:00
parent 497602f47e
commit ca34a09f20
14 changed files with 359 additions and 140 deletions

View File

@@ -2505,9 +2505,9 @@ namespace App {
ChannelReplyMarkups::iterator i = channelReplyMarkups.find(channelId);
if (i != channelReplyMarkups.cend()) {
i->remove(msgId);
}
if (i->isEmpty()) {
channelReplyMarkups.erase(i);
if (i->isEmpty()) {
channelReplyMarkups.erase(i);
}
}
}
}