Also apply our notexistant caps trick to XHTML.
This commit is contained in:
parent
8d0ff396b1
commit
68b41e43ae
|
@ -1235,7 +1235,8 @@ class ChatControl(ChatControlBase):
|
||||||
|
|
||||||
def update_toolbar(self):
|
def update_toolbar(self):
|
||||||
# Formatting
|
# 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)
|
self._formattings_button.set_sensitive(True)
|
||||||
else:
|
else:
|
||||||
self._formattings_button.set_sensitive(False)
|
self._formattings_button.set_sensitive(False)
|
||||||
|
|
Loading…
Reference in New Issue