Commit c9069ce6 authored by mathieui's avatar mathieui

Fix #2377 (send back unavailable presence on message from unknown room)

parent 52e6334c
......@@ -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']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment