# HG changeset patch # User daurnimator # Date 1396046018 14400 # Node ID f47268c8a8d0b42b2150e68050746f7524de3b9c # Parent c0b4b5d41e555a9df35686c22dbdb519fa241634 plugins/muc/muc.lib: Status codes should be inside of x element diff -r c0b4b5d41e55 -r f47268c8a8d0 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Fri Mar 28 17:58:25 2014 -0400 +++ b/plugins/muc/muc.lib.lua Fri Mar 28 18:33:38 2014 -0400 @@ -1013,8 +1013,9 @@ if next(changed) then local msg = st.message({type='groupchat', from=self.jid}) - :tag('x', {xmlns='http://jabber.org/protocol/muc#user'}):up() - :tag('status', {code = '104'}):up(); + :tag('x', {xmlns='http://jabber.org/protocol/muc#user'}) + :tag('status', {code = '104'}):up() + :up(); if changed.whois then local code = (self:get_whois() == 'moderators') and "173" or "172"; msg.tags[1]:tag('status', {code = code}):up();