Fix visual glitch on profile opening.

This commit is contained in:
John Preston 2020-07-02 12:15:21 +04:00
parent d8cc7a9b50
commit 895c65d518
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ void showPeerProfile(not_null<PeerData*> peer) {
if (const auto controller = window->sessionController()) {
if (&controller->session() == &peer->session()) {
controller->showPeerInfo(peer);
return;
}
}
if (&Core::App().domain().active() != &peer->session().account()) {