2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

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

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()) {