2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

voice messages and shared contacts redesigned (contacts not realtime-updated yet)

This commit is contained in:
John Preston
2015-12-13 01:29:33 +03:00
parent 603fb63c91
commit 2225abec5c
15 changed files with 721 additions and 383 deletions

View File

@@ -91,6 +91,10 @@ namespace Ui {
return false;
}
void showPeerHistory(const PeerId &peer, MsgId msgId, bool back) {
if (MainWidget *m = App::main()) m->showPeerHistory(peer, msgId, back);
}
}
namespace Notify {
@@ -111,4 +115,8 @@ namespace Notify {
if (MainWidget *m = App::main()) m->notify_redrawHistoryItem(item);
}
void historyItemLayoutChanged(const HistoryItem *item) {
if (MainWidget *m = App::main()) m->notify_historyItemLayoutChanged(item);
}
}