2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Mention names support added to FlatTextarea, messages.

Copy of mention names to clipboard done, pasting started.
This commit is contained in:
John Preston
2016-04-30 20:04:14 +03:00
parent b4bc515079
commit 21f462a77e
18 changed files with 584 additions and 227 deletions

View File

@@ -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);
}