diff --git a/src/chat_control.py b/src/chat_control.py index 996300a80..ac040856b 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1235,7 +1235,7 @@ class ChatControl(ChatControlBase): def update_toolbar(self): # Formatting - if gajim.capscache.is_supported(self.contact, NS_XHTML_IM) + if gajim.capscache.is_supported(self.contact, NS_XHTML_IM) \ and not gajim.capscache.is_supported('notexistant'): self._formattings_button.set_sensitive(True) else: