diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-20 12:29:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-20 12:29:31 +0200 |
commit | 1109ba124279bec3ff77421823c21f2567fccc55 (patch) | |
tree | 8b641ef72212ec3080a79b55b2300abe3ca8e5c1 /plugins/muc | |
parent | 27f234ce4e975fb109e439d38a751422ac8c2344 (diff) | |
download | prosody-1109ba124279bec3ff77421823c21f2567fccc55.tar.gz prosody-1109ba124279bec3ff77421823c21f2567fccc55.zip |
MUC: Don't force-save rooms where not needed
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/muc.lib.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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; |