Software /
code /
prosody
Changeset
5659:9f9de8078164
mod_muc: Include status code 332 on service shutdown (thanks mathieui)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 08 Jun 2013 18:07:36 +0100 |
parents | 5658:97c1c1bdd7bc |
children | 5660:df077bc8f019 |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Fri Jun 07 16:26:08 2013 -0400 +++ b/plugins/muc/mod_muc.lua Sat Jun 08 18:07:36 2013 +0100 @@ -219,7 +219,8 @@ if not saved then local stanza = st.presence({type = "unavailable"}) :tag("x", {xmlns = "http://jabber.org/protocol/muc#user"}) - :tag("item", { affiliation='none', role='none' }):up(); + :tag("item", { affiliation='none', role='none' }):up() + :tag("status", { code = "332"}):up(); for roomjid, room in pairs(rooms) do shutdown_room(room, stanza); end