summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-02 21:40:58 +0200
committermathieui <mathieui@mathieui.net>2014-04-02 21:40:58 +0200
commitc9069ce623b54b660b20c217b7f1a1562d756c1a (patch)
tree666495929080f663523bb475e76c75dbd4d9a995
parent52e6334c8c95ec873ccbcf17bf42de12eec0475d (diff)
downloadpoezio-c9069ce623b54b660b20c217b7f1a1562d756c1a.tar.gz
poezio-c9069ce623b54b660b20c217b7f1a1562d756c1a.tar.bz2
poezio-c9069ce623b54b660b20c217b7f1a1562d756c1a.tar.xz
poezio-c9069ce623b54b660b20c217b7f1a1562d756c1a.zip
Fix #2377 (send back unavailable presence on message from unknown room)
-rw-r--r--src/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 1ae34d3d..ac0c1722 100644
--- a/src/core.py
+++ b/src/core.py
@@ -3197,6 +3197,7 @@ class Core(object):
tab = self.get_tab_by_name(room_from, tabs.MucTab)
if not tab:
self.information(_("message received for a non-existing room: %s") % (room_from))
+ muc.leave_groupchat(self.xmpp, room_from, self.own_nick, msg='')
return
nick_from = message['mucnick']