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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user