mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Pass reply info to Window::PeerMenu.
This commit is contained in:
@@ -171,7 +171,13 @@ void activateBotCommand(
|
||||
}
|
||||
}
|
||||
if (const auto m = CheckMainWidget(&msg->history()->session())) {
|
||||
Window::PeerMenuCreatePoll(m->controller(), msg->history()->peer, chosen, disabled);
|
||||
const auto replyToId = MsgId(0);
|
||||
Window::PeerMenuCreatePoll(
|
||||
m->controller(),
|
||||
msg->history()->peer,
|
||||
replyToId,
|
||||
chosen,
|
||||
disabled);
|
||||
}
|
||||
} break;
|
||||
|
||||
|
Reference in New Issue
Block a user