mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
@@ -4440,7 +4440,7 @@ void HistoryWidget::updateSendButtonType() {
|
||||
}
|
||||
|
||||
bool HistoryWidget::updateCmdStartShown() {
|
||||
const auto bot = (_peer && _peer->asUser()->isBot())
|
||||
const auto bot = (_peer && _peer->isUser() && _peer->asUser()->isBot())
|
||||
? _peer->asUser()
|
||||
: nullptr;
|
||||
bool cmdStartShown = false;
|
||||
|
Reference in New Issue
Block a user