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

Handle nice topic / post-in-topic links.

This commit is contained in:
John Preston
2022-10-28 16:30:59 +04:00
parent 3078a94404
commit 18bf5c0ee2
17 changed files with 206 additions and 142 deletions

View File

@@ -275,6 +275,9 @@ private:
const MTPcontacts_ResolvedPeer &result,
Fn<void(not_null<PeerData*>)> done);
void showMessageByLinkResolved(
not_null<HistoryItem*> item,
const PeerByLinkInfo &info);
void showPeerByLinkResolved(
not_null<PeerData*> peer,
const PeerByLinkInfo &info);
@@ -424,7 +427,7 @@ public:
const SectionShow &params = SectionShow::Way::ClearStack,
MsgId msgId = ShowAtUnreadMsgId) override;
void showPeerHistoryAtItem(not_null<const HistoryItem*> item);
void showMessage(not_null<const HistoryItem*> item);
void cancelUploadLayer(not_null<HistoryItem*> item);
void showLayer(