diff --git a/src/chat_control.py b/src/chat_control.py index 323c876ec2b919b83a675de0554414588288e8af..f7f095cb05f56d6094ab9617741da31aa024ab71 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1735,10 +1735,14 @@ class ChatControl(ChatControlBase): "him or her a file.")) # Convert to GC - if self.contact.supports(NS_MUC): - self._convert_to_gc_button.set_sensitive(True) + if gajim.config.get_per('accounts', self.account, 'is_zeroconf'): + self._convert_to_gc_button.set_no_show_all(True) + self._convert_to_gc_button.hide() else: - self._convert_to_gc_button.set_sensitive(False) + if self.contact.supports(NS_MUC): + self._convert_to_gc_button.set_sensitive(True) + else: + self._convert_to_gc_button.set_sensitive(False) # Information if gajim.account_is_disconnected(self.account):