2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Implement per-topic shared media.

This commit is contained in:
John Preston
2022-10-11 19:08:19 +04:00
parent eec4b72d9a
commit 58b8eb8e96
58 changed files with 434 additions and 269 deletions

View File

@@ -441,11 +441,15 @@ public:
void showPassportForm(const Passport::FormRequest &request);
void clearPassportForm();
void openPhoto(not_null<PhotoData*> photo, FullMsgId contextId);
void openPhoto(
not_null<PhotoData*> photo,
FullMsgId contextId,
MsgId topicRootId);
void openPhoto(not_null<PhotoData*> photo, not_null<PeerData*> peer);
void openDocument(
not_null<DocumentData*> document,
FullMsgId contextId,
MsgId topicRootId,
bool showInMediaView = false);
void showChooseReportMessages(