fix missing argument

This commit is contained in:
Yann Leboulanger 2008-11-30 18:59:34 +00:00
parent 941ab84d22
commit 1d4455bc20
1 changed files with 1 additions and 1 deletions

View File

@ -1236,7 +1236,7 @@ class ChatControl(ChatControlBase):
def update_toolbar(self):
# Formatting
if gajim.capscache.is_supported(self.contact, NS_XHTML_IM) \
and not gajim.capscache.is_supported('notexistant'):
and not gajim.capscache.is_supported(self.contact, 'notexistant'):
self._formattings_button.set_sensitive(True)
else:
self._formattings_button.set_sensitive(False)