mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Added initial implementation of draw-to-reply.
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user