diff --git a/src/chat_control.py b/src/chat_control.py index c5fae613e..996300a80 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -1235,7 +1235,8 @@ 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: self._formattings_button.set_sensitive(False)