fix missing argument
This commit is contained in:
parent
941ab84d22
commit
1d4455bc20
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue