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