mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 23:45:44 +00:00
Use UserData::isBot where applicable.
This commit is contained in:
@@ -266,7 +266,7 @@ void ApplyChatUpdate(
|
||||
history->clearLastKeyboard();
|
||||
}
|
||||
}
|
||||
if (chat->botStatus > 0 && user->botInfo) {
|
||||
if (chat->botStatus > 0 && user->isBot()) {
|
||||
chat->refreshBotStatus();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user