diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-15 18:03:55 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-15 18:03:55 +0200 |
commit | cac82fda13e1b5fabda5314c5d986220af8ac5cc (patch) | |
tree | 5baa93ac25d1dd8457017dca85da1f34b0779349 /plugins/muc | |
parent | 145dcbd56116dc8f04be31f0227739f98679d9d3 (diff) | |
download | prosody-cac82fda13e1b5fabda5314c5d986220af8ac5cc.tar.gz prosody-cac82fda13e1b5fabda5314c5d986220af8ac5cc.zip |
MUC: Save room after subject is changed
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/subject.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/subject.lib.lua b/plugins/muc/subject.lib.lua index 8f5f9231..45aa6934 100644 --- a/plugins/muc/subject.lib.lua +++ b/plugins/muc/subject.lib.lua @@ -82,6 +82,7 @@ module:hook("muc-occupant-groupchat", function(event) if role_rank >= valid_roles.moderator or ( role_rank >= valid_roles.participant and get_changesubject(event.room) ) then -- and participant set_subject(event.room, occupant.nick, subject:get_text()); + room:save(); return true; else event.origin.send(st.error_reply(stanza, "auth", "forbidden")); |