Software /
code /
prosody
Changeset
965:8bc06338aac3
mod_muc: Fix malformed presence stanzas (thanks elmex)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 08 Apr 2009 20:19:09 +0100 |
parents | 964:3296db2ad4a0 |
children | 968:13e3bdfb02f9 970:5516f9e66482 |
files | plugins/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_muc.lua Wed Apr 08 20:12:40 2009 +0100 +++ b/plugins/mod_muc.lua Wed Apr 08 20:19:09 2009 +0100 @@ -259,7 +259,7 @@ 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