summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index ac0c1722..b7f6ea17 100644
--- a/src/core.py
+++ b/src/core.py
@@ -3494,6 +3494,10 @@ class Core(object):
return
roster.modified()
contact.error = presence['error']['type'] + ': ' + presence['error']['condition']
+ # reset chat states status on presence error
+ tab = self.get_tab_by_name(jid.full, tabs.ConversationTab)
+ if tab:
+ tab.remote_wants_chatstates = None
def on_got_offline(self, presence):
"""