mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Use UserData::isBot where applicable.
This commit is contained in:
@@ -128,7 +128,7 @@ void activateBotCommand(
|
||||
if (samePeer) {
|
||||
Notify::switchInlineBotButtonReceived(QString::fromUtf8(button->data), bot, msgId);
|
||||
return true;
|
||||
} else if (bot->botInfo && bot->botInfo->inlineReturnPeerId) {
|
||||
} else if (bot->isBot() && bot->botInfo->inlineReturnPeerId) {
|
||||
if (Notify::switchInlineBotButtonReceived(QString::fromUtf8(button->data))) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user