2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Fix alpha version changelog notification.

We should call window->serviceNotification() because it checks for
the service chat history being loaded before adding the message.

The method in MainWidget was renamed to prevent bugs in the future.
This commit is contained in:
John Preston
2017-06-30 14:30:11 +03:00
parent 5fe1175602
commit 42febdb240
4 changed files with 4 additions and 4 deletions

View File

@@ -325,7 +325,7 @@ public:
void checkLastUpdate(bool afterSleep);
void serviceNotification(const TextWithEntities &message, const MTPMessageMedia &media, int32 date);
void insertCheckedServiceNotification(const TextWithEntities &message, const MTPMessageMedia &media, int32 date);
void serviceHistoryDone(const MTPmessages_Messages &msgs);
bool serviceHistoryFail(const RPCError &error);