Software /
code /
prosody
Changeset
7357:d69521003e91
MUC: Save room after subject is changed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 15 Apr 2016 18:03:55 +0200 |
parents | 7356:f4d51870d212 |
children | 7360:7a37fade5380 |
files | plugins/muc/subject.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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"));