fix TB when getting chatstate from contact not in roster of offline storaged chatstate
This commit is contained in:
parent
5957e968d7
commit
7b102e4813
|
@ -528,7 +528,7 @@ class Interface:
|
|||
elif contact.chatstate != 'active':
|
||||
# got no valid jep85 answer, peer does not support it
|
||||
contact.chatstate = False
|
||||
elif contact and chatstate == 'active':
|
||||
elif chatstate == 'active':
|
||||
# Brand new message, incoming.
|
||||
contact.our_chatstate = chatstate
|
||||
contact.chatstate = chatstate
|
||||
|
|
Loading…
Reference in New Issue