2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Save local drafts in scheduled / replies sections.

Fix inline bot switch inline in scheduled / replies sections.
This commit is contained in:
John Preston
2020-11-13 20:27:08 +03:00
parent 4a0efb9114
commit b3eb7858e6
15 changed files with 1025 additions and 390 deletions

View File

@@ -617,7 +617,9 @@ void Filler::addPollAction(not_null<PeerData*> peer) {
? Api::SendType::Scheduled
: Api::SendType::Normal;
const auto flag = PollData::Flags();
const auto replyToId = _request.currentReplyToId;
const auto replyToId = _request.currentReplyToId
? _request.currentReplyToId
: _request.rootId;
auto callback = [=] {
PeerMenuCreatePoll(
controller,