# HG changeset patch # User Kim Alvefur # Date 1461148171 -7200 # Node ID ef7ea3bad7a1b69f1fc3c1ecf954110bac04924d # Parent e16b3fd0bd80f6e94ace9a847f52284432c48b09 MUC: Don't force-save rooms where not needed diff -r e16b3fd0bd80 -r ef7ea3bad7a1 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue Apr 19 20:31:39 2016 +0200 +++ b/plugins/muc/muc.lib.lua Wed Apr 20 12:29:31 2016 +0200 @@ -709,7 +709,7 @@ end event.field, event.value = nil, nil; - self:save(true); + self:save(); origin.send(st.reply(stanza)); if next(event.status_codes) then @@ -1159,7 +1159,7 @@ end end - self:save(true); + self:save(); module:fire_event("muc-set-affiliation", { room = self;