Fix pylint error
This commit is contained in:
parent
eb99291d44
commit
a64d986c7f
|
@ -355,8 +355,7 @@ class Chatstate:
|
||||||
if contact.is_groupchat():
|
if contact.is_groupchat():
|
||||||
return app.config.get_per(
|
return app.config.get_per(
|
||||||
'rooms', contact.jid, 'send_chatstate', 'composing_only')
|
'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):
|
def remove_delay_timeout(self, contact):
|
||||||
timeout = self._delay_timeout_ids.get(contact.jid)
|
timeout = self._delay_timeout_ids.get(contact.jid)
|
||||||
|
|
Loading…
Reference in New Issue