# HG changeset patch # User Christian Haase # Date 1307272704 -3600 # Node ID bcdff2b1d3ecc63a9ee28c66cad0952b57eda005 # Parent d6366294f61863f63c2816e999eaa56d9df93bc3 mod_groups: Persist changes to mod_groups contacts (e.g. moving groups) diff -r d6366294f618 -r bcdff2b1d3ec plugins/mod_groups.lua --- 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