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

Poll data and updates handling added.

This commit is contained in:
John Preston
2018-12-18 09:43:11 +04:00
parent 099440d008
commit 47bdeeef9a
13 changed files with 393 additions and 20 deletions

View File

@@ -5928,7 +5928,7 @@ void HistoryWidget::gotPreview(QString links, const MTPMessageMedia &result, mtp
: nullptr;
updatePreview();
}
Auth().data().sendWebPageGameNotifications();
Auth().data().sendWebPageGamePollNotifications();
} else if (result.type() == mtpc_messageMediaEmpty) {
_previewCache.insert(links, 0);
if (links == _previewLinks && !_previewCancelled) {