Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 3590:dcc5f3402f5b
MUC: Added a missing :up() to the stanza building for presence broadcast (thanks Zash).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Nov 2010 05:32:09 +0500 |
parent | 3580:39547152bb72 |
child | 3591:dff4a77ee285 |
line wrap: on
line diff
--- 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