Fix pylint error

This commit is contained in:
Philipp Hörist 2019-01-06 02:15:17 +01:00
parent eb99291d44
commit a64d986c7f
1 changed files with 1 additions and 2 deletions

View File

@ -355,8 +355,7 @@ class Chatstate:
if contact.is_groupchat():
return app.config.get_per(
'rooms', contact.jid, 'send_chatstate', 'composing_only')
else:
return app.config.get('outgoing_chat_state_notifications')
return app.config.get('outgoing_chat_state_notifications')
def remove_delay_timeout(self, contact):
timeout = self._delay_timeout_ids.get(contact.jid)