Abide by composing-only chatstate configuration; closes #945
This commit is contained in:
parent
a7ee9425be
commit
83aa034a24
|
@ -546,7 +546,10 @@ timestamp, contact):
|
|||
# do not send nothing if we have chat state notifications disabled
|
||||
# that means we won't reply to the <active/> from other peer
|
||||
# so we do not broadcast jep85 capabalities
|
||||
if gajim.config.get('chat_state_notifications') == 'disabled':
|
||||
chatstate_setting = gajim.config.get('chat_state_notifications')
|
||||
if chatstate_setting == 'disabled':
|
||||
return
|
||||
elif chatstate_setting == 'composing_only' and state != 'active' and state != 'composing':
|
||||
return
|
||||
|
||||
if jid is None:
|
||||
|
|
Loading…
Reference in New Issue