Support shared media / pins for sublists.

This commit is contained in:
John Preston
2025-06-02 15:00:36 +04:00
parent ffe6786ad1
commit dfc1ec3ccf
83 changed files with 1105 additions and 221 deletions
@@ -187,7 +187,8 @@ void ResolveDocument(
Window::SessionController *controller,
not_null<DocumentData*> document,
HistoryItem *item,
MsgId topicRootId) {
MsgId topicRootId,
PeerId monoforumPeerId) {
if (document->isNull()) {
return;
}
@@ -202,7 +203,7 @@ void ResolveDocument(
controller->openDocument(
document,
true,
{ msgId, topicRootId });
{ msgId, topicRootId, monoforumPeerId });
}
};