Added initial implementation of draw-to-reply.

This commit is contained in:
23rd
2026-03-11 11:38:33 +03:00
committed by John Preston
parent a8452601d7
commit 9275b45ab8
16 changed files with 264 additions and 18 deletions
@@ -182,7 +182,8 @@ void ResolveDocument(
not_null<DocumentData*> document,
HistoryItem *item,
MsgId topicRootId,
PeerId monoforumPeerId) {
PeerId monoforumPeerId,
bool showDrawButton) {
if (document->isNull()) {
return;
}
@@ -193,7 +194,7 @@ void ResolveDocument(
controller->openDocument(
document,
true,
{ msgId, topicRootId, monoforumPeerId });
{ msgId, topicRootId, monoforumPeerId, showDrawButton });
}
};