Wed, 10 Nov 2010 05:32:09 +0500
MUC: Added a missing :up() to the stanza building for presence broadcast (thanks Zash).
plugins/muc/muc.lib.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/muc/muc.lib.lua Wed Nov 10 05:31:19 2010 +0500 +++ b/plugins/muc/muc.lib.lua Wed Nov 10 05:32:09 2010 +0500 @@ -113,7 +113,7 @@ self:broadcast_except_nick(stanza, stanza.attr.from); local me = self._occupants[stanza.attr.from]; if me then - stanza:tag("status", {code='110'}); + stanza:tag("status", {code='110'}):up(); stanza.attr.to = sid; self:_route_stanza(stanza); end