mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Merge branch 'master' into profile
Conflicts: Telegram/Telegram.vcxproj.filters
This commit is contained in:
@@ -236,6 +236,10 @@ void autoplayMediaInlineAsync(const FullMsgId &msgId) {
|
||||
}
|
||||
}
|
||||
|
||||
void showPeerProfile(const PeerId &peer) {
|
||||
if (MainWidget *m = App::main()) m->showPeerProfile(App::peer(peer));
|
||||
}
|
||||
|
||||
void showPeerHistory(const PeerId &peer, MsgId msgId, bool back) {
|
||||
if (MainWidget *m = App::main()) m->ui_showPeerHistory(peer, msgId, back);
|
||||
}
|
||||
|
Reference in New Issue
Block a user