diff -r dd99a0dde016 -r 8e508f08cc7f plugins/groupchat.lua --- a/plugins/groupchat.lua Tue Nov 09 17:57:44 2010 +0100 +++ b/plugins/groupchat.lua Thu Nov 11 03:09:06 2010 +0100 @@ -107,7 +107,7 @@ if stanza.name == "message" and not stanza.attr.type then stanza.attr.type = "groupchat"; end - if stanza.attr.type == "groupchat" then + if stanza.attr.type == "groupchat" or not stanza.attr.to then stanza.attr.to = self.jid; end self.bot:send(stanza);