# HG changeset patch # User Kim Alvefur # Date 1460736235 -7200 # Node ID d69521003e91e4c42dd41940c1b52345a42616b5 # Parent f4d51870d212c9ff608cabdc8a24dc287361cd08 MUC: Save room after subject is changed diff -r f4d51870d212 -r d69521003e91 plugins/muc/subject.lib.lua --- 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"));