Skip to content
Snippets Groups Projects
Commit 5f0650b2 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

correctly check is zeroconf account is connected. see #7199

parent 014a8866
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ class StatusIcon:
item.connect('activate', self.on_show_menuitem_activate, 'offline')
iskey = connected_accounts > 0 and not (connected_accounts == 1 and
gajim.connections[gajim.connections.keys()[0]].is_zeroconf)
gajim.zeroconf_is_connected())
chat_with_menuitem.set_sensitive(iskey)
single_message_menuitem.set_sensitive(iskey)
join_gc_menuitem.set_sensitive(iskey)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment