mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Auto-submit /start when paying for premium.
This commit is contained in:
@@ -346,6 +346,8 @@ void SessionNavigation::showPeerByLinkResolved(
|
||||
// Show specific posts only in channels / supergroups.
|
||||
const auto msgId = peer->isChannel()
|
||||
? info.messageId
|
||||
: info.startAutoSubmit
|
||||
? ShowAndStartBotMsgId
|
||||
: ShowAtUnreadMsgId;
|
||||
const auto attachBotUsername = info.attachBotUsername;
|
||||
if (bot && bot->botInfo->startToken != info.startToken) {
|
||||
|
Reference in New Issue
Block a user