correctly check is zeroconf account is connected. see #7199
This commit is contained in:
parent
eec809c89a
commit
a3d2696987
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue