summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-05-15 22:43:57 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-05-15 22:43:57 +0100
commit2419e821438e65b27c47761c581f93a6ddb03a5c (patch)
tree1023006ef0ca758c37f079be25134f004a826e23
parenta3dfd55e049d289ff8086878eadcea4f8e258502 (diff)
downloadpoezio-2419e821438e65b27c47761c581f93a6ddb03a5c.tar.gz
poezio-2419e821438e65b27c47761c581f93a6ddb03a5c.tar.bz2
poezio-2419e821438e65b27c47761c581f93a6ddb03a5c.tar.xz
poezio-2419e821438e65b27c47761c581f93a6ddb03a5c.zip
Send a <gone/> chatstate on /close.
Fixes #3296.
-rw-r--r--poezio/tabs/basetabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index f4c4cf0a..b049baff 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -825,6 +825,7 @@ class OneToOneTab(ChatTab):
"""
/unquery
"""
+ self.send_chat_state('gone', always_send=True):
self.core.close_tab(self)
def missing_command_callback(self, command_name):