diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2015-05-10 21:56:41 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2015-05-10 21:56:41 +0300 |
commit | 0fc96927b6029826698b462414020e12fe072754 (patch) | |
tree | 291784017054c41d6b04e2a995bd8312d54b93a4 /src/chat_control.py | |
parent | 5978d846156f35785dea82efeeb80d554bb30f3a (diff) |
stop sending chatstates when we get an error message from a contact. Fixes #8010
Diffstat (limited to 'src/chat_control.py')
-rw-r--r-- | src/chat_control.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chat_control.py b/src/chat_control.py index 179971467..4c766e8d7 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -2746,6 +2746,8 @@ class ChatControl(ChatControlBase): if not contact.supports(NS_CHATSTATES): return + if contact.our_chatstate == False: + return # if the new state we wanna send (state) equals # the current state (contact.our_chatstate) then return |