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

Megagroup members are always shown if the server allows us to view them.

Bot keyboard clearing fixed when using Clear History.
This commit is contained in:
John Preston
2016-07-19 14:37:01 +03:00
parent 207981b8c4
commit 1753db3e62
6 changed files with 18 additions and 14 deletions

View File

@@ -858,7 +858,6 @@ namespace {
chat->botStatus = botStatus;
if (!found) {
h->clearLastKeyboard();
if (App::main()) App::main()->updateBotKeyboard(h);
}
}
}
@@ -961,7 +960,6 @@ namespace {
History *h = App::historyLoaded(chat->id);
if (h && h->lastKeyboardFrom == user->id) {
h->clearLastKeyboard();
if (App::main()) App::main()->updateBotKeyboard(h);
}
}
if (chat->botStatus > 0 && user->botInfo) {