Also apply our notexistant caps trick to XHTML.

This commit is contained in:
js 2008-11-30 18:16:11 +00:00
parent 8d0ff396b1
commit 68b41e43ae
1 changed files with 2 additions and 1 deletions

View File

@ -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)