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

dialogs optimizations, qt 5.5.0 xcode 7 build

This commit is contained in:
John Preston
2015-09-29 16:24:39 +03:00
parent d8b421993d
commit 94fe669c6e
16 changed files with 571 additions and 864 deletions

View File

@@ -2661,7 +2661,7 @@ void MainWidget::onActiveChannelUpdateFull() {
void MainWidget::msgUpdated(PeerId peer, const HistoryItem *msg) {
if (!msg) return;
history.msgUpdated(peer, msg);
if (!msg->history()->dialogs.isEmpty()) dialogs.dlgUpdated(msg->history()->dialogs[0]);
if (!msg->history()->dialogs.isEmpty() && msg->history()->lastMsg == msg) dialogs.dlgUpdated(msg->history()->dialogs[0]);
if (overview) overview->msgUpdated(peer, msg);
}