Changeset

4312:bcdff2b1d3ec

mod_groups: Persist changes to mod_groups contacts (e.g. moving groups)
author Christian Haase <c.haase@ifu.com>
date Sun, 05 Jun 2011 12:18:24 +0100
parents 4311:d6366294f618
children 4313:42d7d09fdda0
files plugins/mod_groups.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_groups.lua	Fri Mar 04 20:27:57 2011 +0000
+++ b/plugins/mod_groups.lua	Sun Jun 05 12:18:24 2011 +0100
@@ -34,9 +34,9 @@
 				end
 				if not roster[jid].groups then
 					roster[jid].groups = { [group_name] = true };
+					roster[jid].persist = false;
 				end
 				roster[jid].groups[group_name] = true;
-				roster[jid].persist = false;
 			end
 		end
 	end