2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

0.7.21.dev version prepared for os x

This commit is contained in:
John Preston
2015-03-19 14:24:23 +03:00
parent 1f7e39e184
commit 8d614463ae
16 changed files with 2887 additions and 2792 deletions

View File

@@ -229,6 +229,7 @@ void NotifyWindow::updatePeerPhoto() {
void NotifyWindow::itemRemoved(HistoryItem *del) {
if (item == del) {
item = 0;
unlinkHistoryAndNotify();
}
}
@@ -273,7 +274,7 @@ void NotifyWindow::mousePressEvent(QMouseEvent *e) {
App::wnd()->notifyClear();
} else {
App::wnd()->hideSettings();
App::main()->showPeer(peer, 0, false, true);
App::main()->showPeer(peer, (history->peer->chat && item && item->notifyByFrom() && item->id > 0) ? item->id : 0, false, true);
}
e->ignore();
}