Software /
code /
prosody
Changeset
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 |
parents | 3589:1792610e169e |
children | 3591:dff4a77ee285 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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