Diff

plugins/muc/muc.lib.lua @ 7402:ef7ea3bad7a1

MUC: Don't force-save rooms where not needed
author Kim Alvefur <zash@zash.se>
date Wed, 20 Apr 2016 12:29:31 +0200
parent 7397:e49737de9872
child 7405:5a65750d959a
line wrap: on
line diff
--- 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;