2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Add calls log box.

PeerListBox can have many rows with the same PeerData.
PeerListBox::Row can have arbitrary action on the right side.
This commit is contained in:
John Preston
2017-04-27 22:04:45 +03:00
parent f6eb2c5205
commit 06b081f509
26 changed files with 709 additions and 165 deletions

View File

@@ -2842,10 +2842,9 @@ void MainWidget::jumpToDate(PeerData *peer, const QDate &date) {
if (auto list = getMessagesList()) {
App::feedMsgs(*list, NewMessageExisting);
for (auto &message : *list) {
if (auto id = idFromMessage(message)) {
Ui::showPeerHistory(peer, id);
return;
}
auto id = idFromMessage(message);
Ui::showPeerHistory(peer, id);
return;
}
}
Ui::showPeerHistory(peer, ShowAtUnreadMsgId);