mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 01:45:06 +00:00
PoC suggesting posts to channels.
This commit is contained in:
@@ -2114,9 +2114,13 @@ bool SessionController::switchInlineQuery(
|
||||
&& to.currentReplyTo.quote.empty()) {
|
||||
to.currentReplyTo.messageId.msg = MsgId();
|
||||
}
|
||||
if (!history->suggestDraftAllowed()) {
|
||||
to.currentSuggest = SuggestPostOptions();
|
||||
}
|
||||
auto draft = std::make_unique<Data::Draft>(
|
||||
textWithTags,
|
||||
to.currentReplyTo,
|
||||
to.currentSuggest,
|
||||
cursor,
|
||||
Data::WebPageDraft());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user