projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873005c
)
MUC: Don't force-save rooms where not needed
author
Kim Alvefur
<zash@zash.se>
Wed, 20 Apr 2016 10:29:31 +0000
(12:29 +0200)
committer
Kim Alvefur
<zash@zash.se>
Wed, 20 Apr 2016 10:29:31 +0000
(12:29 +0200)
plugins/muc/muc.lib.lua
patch
|
blob
|
history
diff --git
a/plugins/muc/muc.lib.lua
b/plugins/muc/muc.lib.lua
index e98e99b8a50c8e1d1989e8bf798d5d731e4d7422..14aad42c329d7cca1db896c92924f26d85af56f9 100644
(file)
--- 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;