From c9069ce623b54b660b20c217b7f1a1562d756c1a Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 2 Apr 2014 21:40:58 +0200 Subject: Fix #2377 (send back unavailable presence on message from unknown room) --- src/core.py | 1 + 1 file changed, 1 insertion(+) 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'] -- cgit v1.2.3