2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

multi select in media overview done properly

This commit is contained in:
John Preston
2014-08-20 23:13:00 +04:00
parent dfb4d01015
commit db7fa9ba2f
10 changed files with 127 additions and 59 deletions

View File

@@ -642,6 +642,10 @@ void MainWidget::mediaOverviewUpdated(PeerData *peer) {
if (overview) overview->mediaOverviewUpdated(peer);
}
void MainWidget::changingMsgId(HistoryItem *row, MsgId newId) {
if (overview) overview->changingMsgId(row, newId);
}
bool MainWidget::overviewFailed(PeerData *peer, const RPCError &error, mtpRequestId req) {
MediaOverviewType type = OverviewCount;
for (int32 i = 0; i < OverviewCount; ++i) {