diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-08 20:19:09 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-08 20:19:09 +0100 |
commit | edd59b5d381bd8b0daee063a99f8678f86f6b9bb (patch) | |
tree | ff389c9b719436dc07795b7b7414744c1b397e0d /plugins/mod_muc.lua | |
parent | ed0da8eb5621274bae8b33b75bc4ac07aca40f80 (diff) | |
download | prosody-edd59b5d381bd8b0daee063a99f8678f86f6b9bb.tar.gz prosody-edd59b5d381bd8b0daee063a99f8678f86f6b9bb.zip |
mod_muc: Fix malformed presence stanzas (thanks elmex)
Diffstat (limited to 'plugins/mod_muc.lua')
-rw-r--r-- | plugins/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc.lua b/plugins/mod_muc.lua index 117a044b..8fbe1e91 100644 --- a/plugins/mod_muc.lua +++ b/plugins/mod_muc.lua @@ -259,7 +259,7 @@ function handle_to_occupant(origin, stanza) -- PM, vCards, etc end else -- possible rejoin log("debug", "%s had connection replaced", current_nick); - handle_to_occupant(origin, st.presence({type='unavailable', from=from, to=to}):tag('status'):text('Replaced by new connection')); -- send unavailable + handle_to_occupant(origin, st.presence({type='unavailable', from=from, to=to}):tag('status'):text('Replaced by new connection'):up()); -- send unavailable handle_to_occupant(origin, stanza); -- resend available end else -- enter room |