mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix visual glitch on profile opening.
This commit is contained in:
parent
d8cc7a9b50
commit
895c65d518
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,7 @@ void showPeerProfile(not_null<PeerData*> peer) {
|
||||||
if (const auto controller = window->sessionController()) {
|
if (const auto controller = window->sessionController()) {
|
||||||
if (&controller->session() == &peer->session()) {
|
if (&controller->session() == &peer->session()) {
|
||||||
controller->showPeerInfo(peer);
|
controller->showPeerInfo(peer);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (&Core::App().domain().active() != &peer->session().account()) {
|
if (&Core::App().domain().active() != &peer->session().account()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue