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

correctly check is zeroconf account is connected. see #7199

parent eec809c8
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,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