diff --git a/src/chat_control.py b/src/chat_control.py index 3e65efb96..8de4c2b42 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -900,10 +900,10 @@ class ChatControl(ChatControlBase): if cs and st in ('composing_only', 'all'): if contact.show == 'offline': chatstate = '' - elif st == 'all': + elif st == 'all' and contact.composing_jep == 'JEP-0085': chatstate = helpers.get_uf_chatstate(cs) - else: # 'composing_only' - if chatstate in ('composing', 'paused'): + elif st == 'composing_only' or contact.composing_jep == 'JEP-0022': + if cs in ('composing', 'paused'): # only print composing, paused chatstate = helpers.get_uf_chatstate(cs) else: