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

Update tgcalls library.

Fixes #24173.
This commit is contained in:
John Preston
2022-04-07 16:49:38 +04:00
parent 94c6793e92
commit 2b5d61ad36
4 changed files with 12 additions and 2 deletions

View File

@@ -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;