mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
showPeerHistory moved to Ui namespace
This commit is contained in:
@@ -296,7 +296,7 @@ void NotifyWindow::mousePressEvent(QMouseEvent *e) {
|
||||
App::wnd()->notifyClear();
|
||||
} else {
|
||||
App::wnd()->hideSettings();
|
||||
App::main()->showPeerHistory(peer, (!history->peer->isUser() && item && item->mentionsMe() && item->id > 0) ? item->id : ShowAtUnreadMsgId);
|
||||
Ui::showPeerHistory(peer, (!history->peer->isUser() && item && item->mentionsMe() && item->id > 0) ? item->id : ShowAtUnreadMsgId);
|
||||
}
|
||||
e->ignore();
|
||||
}
|
||||
|
Reference in New Issue
Block a user