2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Notify::peerUpdatedSendDelayed() now is always called from the event loop.

This commit is contained in:
John Preston
2016-06-02 16:57:49 +03:00
parent 2c4ec3d9f3
commit 91d516f18c
12 changed files with 73 additions and 162 deletions

View File

@@ -545,7 +545,6 @@ void GroupInfoBox::exportDone(const MTPExportedChatInvite &result) {
_creationRequestId = 0;
if (result.type() == mtpc_chatInviteExported) {
_createdChannel->setInviteLink(qs(result.c_chatInviteExported().vlink));
Notify::peerUpdatedSendDelayed();
}
Ui::showLayer(new SetupChannelBox(_createdChannel));
}
@@ -1357,7 +1356,6 @@ bool EditChannelBox::onSaveFail(const RPCError &error, mtpRequestId req) {
if (App::api()) {
emit App::api()->fullPeerUpdated(_channel);
}
Notify::peerUpdatedSendDelayed();
}
saveSign();
return true;
@@ -1388,7 +1386,6 @@ void EditChannelBox::onSaveDescriptionDone(const MTPBool &result) {
if (App::api()) {
emit App::api()->fullPeerUpdated(_channel);
}
Notify::peerUpdatedSendDelayed();
}
saveSign();
}