Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2015-05-10 21:56:41 +0300
committerYann Leboulanger <asterix@lagaule.org>2015-05-10 21:56:41 +0300
commit0fc96927b6029826698b462414020e12fe072754 (patch)
tree291784017054c41d6b04e2a995bd8312d54b93a4 /src/chat_control.py
parent5978d846156f35785dea82efeeb80d554bb30f3a (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.py2
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