mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 23:45:44 +00:00
Playing game state is set for 10 seconds instead of 30.
Also moved some icons from sprite to separate b&w files.
This commit is contained in:
@@ -5844,7 +5844,9 @@ void HistoryWidget::botCallbackDone(BotCallbackInfo info, const MTPmessages_BotC
|
||||
if (info.game) {
|
||||
url = appendShareGameScoreUrl(url, info.msgId);
|
||||
BotGameUrlClickHandler(info.bot, url).onClick(Qt::LeftButton);
|
||||
updateSendAction(item->history(), SendActionPlayGame);
|
||||
if (item && (!item->history()->peer->isChannel() || item->history()->peer->isMegagroup())) {
|
||||
updateSendAction(item->history(), SendActionPlayGame);
|
||||
}
|
||||
} else {
|
||||
UrlClickHandler(url).onClick(Qt::LeftButton);
|
||||
}
|
||||
|
Reference in New Issue
Block a user