mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
crash fixed
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user