Reverting a change that broke chatstates, expecially paused.
This commit is contained in:
parent
3de34c3a79
commit
d1840ef508
|
@ -433,8 +433,6 @@ class Interface:
|
||||||
if chatstate is not None: # he sent us reply, so he supports jep85
|
if chatstate is not None: # he sent us reply, so he supports jep85
|
||||||
if contact.chatstate == 'ask': # we were jep85 disco?
|
if contact.chatstate == 'ask': # we were jep85 disco?
|
||||||
contact.chatstate = 'active' # no more
|
contact.chatstate = 'active' # no more
|
||||||
else:
|
|
||||||
contact.chatstate = chatstate
|
|
||||||
|
|
||||||
chat_win.handle_incoming_chatstate(account, jid, chatstate)
|
chat_win.handle_incoming_chatstate(account, jid, chatstate)
|
||||||
elif contact.chatstate != 'active':
|
elif contact.chatstate != 'active':
|
||||||
|
|
Loading…
Reference in New Issue