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

crash fixed

This commit is contained in:
John Preston
2015-11-19 19:08:46 +03:00
parent 84a47d3be7
commit 417024e6d2

View File

@@ -2445,7 +2445,7 @@ void MainWidget::showPeerProfile(PeerData *peer, bool back, int32 lastScrollTop)
_stack.push_back(new StackItemOverview(overview->peer(), overview->type(), overview->lastWidth(), overview->lastScrollTop()));
} else if (profile) {
_stack.push_back(new StackItemProfile(profile->peer(), profile->lastScrollTop()));
} else {
} else if (history.peer()) {
dlgUpdated();
_peerInStack = history.peer();
_msgIdInStack = history.msgId();