Software /
code /
prosody
Diff
plugins/muc/subject.lib.lua @ 7357:d69521003e91
MUC: Save room after subject is changed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 15 Apr 2016 18:03:55 +0200 |
parent | 7353:ca31d3271cf8 |
child | 7365:2d502878b784 |
line wrap: on
line diff
--- a/plugins/muc/subject.lib.lua Fri Apr 15 13:39:56 2016 +0200 +++ b/plugins/muc/subject.lib.lua Fri Apr 15 18:03:55 2016 +0200 @@ -82,6 +82,7 @@ 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"));