# HG changeset patch # User Waqas Hussain # Date 1289349129 -18000 # Node ID dcc5f3402f5b90bf1e3e40b2940d8f785db2ab75 # Parent 1792610e169e29d4d0256834075766822d0dd15b MUC: Added a missing :up() to the stanza building for presence broadcast (thanks Zash). diff -r 1792610e169e -r dcc5f3402f5b plugins/muc/muc.lib.lua --- 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