Changeset

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
parents 7401:e16b3fd0bd80
children 7403:d6e6e21057f0
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;