From: Kim Alvefur Date: Wed, 20 Apr 2016 10:29:31 +0000 (+0200) Subject: MUC: Don't force-save rooms where not needed X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=f4cdad6caecb02d09da005b100bbaded944ccc06;hp=873005c41b407731d759be423c51cb251346c0ae;p=prosody.git MUC: Don't force-save rooms where not needed --- diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index e98e99b8..14aad42c 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -709,7 +709,7 @@ function room_mt:process_form(origin, stanza) 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 @@ function room_mt:set_affiliation(actor, jid, affiliation, reason) end end - self:save(true); + self:save(); module:fire_event("muc-set-affiliation", { room = self;