diff options
author | wurstsalat <mailtrash@posteo.de> | 2022-09-11 20:47:47 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2022-09-11 20:47:47 +0300 |
commit | 1b74e15d8908c3655a8249965dcd3495c952bb5c (patch) | |
tree | e7f2fde1b966416423c5430ccb036dc878daf078 | |
parent | 9c05702db40503c2452252b074d8f738487039fd (diff) |
cfix: ChatBanner: Correctly toggle visitor box visibility
-rw-r--r-- | gajim/gtk/chat_banner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gajim/gtk/chat_banner.py b/gajim/gtk/chat_banner.py index 85a0de277..46a220427 100644 --- a/gajim/gtk/chat_banner.py +++ b/gajim/gtk/chat_banner.py @@ -279,6 +279,9 @@ class ChatBanner(Gtk.Box, EventHelper): self_contact = self._contact.get_self() if self_contact: self._ui.visitor_box.set_visible(self_contact.role.is_visitor) + return + + self._ui.visitor_box.set_visible(False) def _update_account_badge(self, account: str) -> None: if self._account_badge is not None: |