mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-31 01:25:50 +00:00
Support shared media / pins for sublists.
This commit is contained in:
@@ -2927,8 +2927,12 @@ void SessionController::openPhoto(
|
||||
if (openSharedStory(item) || openFakeItemStory(message.id, stories)) {
|
||||
return;
|
||||
}
|
||||
_window->openInMediaView(
|
||||
Media::View::OpenRequest(this, photo, item, message.topicRootId));
|
||||
_window->openInMediaView(Media::View::OpenRequest(
|
||||
this,
|
||||
photo,
|
||||
item,
|
||||
message.topicRootId,
|
||||
message.monoforumPeerId));
|
||||
}
|
||||
|
||||
void SessionController::openPhoto(
|
||||
@@ -2963,11 +2967,17 @@ void SessionController::openDocument(
|
||||
document,
|
||||
item,
|
||||
message.topicRootId,
|
||||
message.monoforumPeerId,
|
||||
false,
|
||||
usedTimestamp));
|
||||
return;
|
||||
}
|
||||
Data::ResolveDocument(this, document, item, message.topicRootId);
|
||||
Data::ResolveDocument(
|
||||
this,
|
||||
document,
|
||||
item,
|
||||
message.topicRootId,
|
||||
message.monoforumPeerId);
|
||||
}
|
||||
|
||||
bool SessionController::openSharedStory(HistoryItem *item) {
|
||||
|
||||
Reference in New Issue
Block a user