From 82639a7fbfbe2aaa3323024260acb029186381a4 Mon Sep 17 00:00:00 2001 From: Christian Haase Date: Sun, 5 Jun 2011 12:18:24 +0100 Subject: mod_groups: Persist changes to mod_groups contacts (e.g. moving groups) --- plugins/mod_groups.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_groups.lua b/plugins/mod_groups.lua index 7a876f1d..90c18fa1 100644 --- a/plugins/mod_groups.lua +++ b/plugins/mod_groups.lua @@ -34,9 +34,9 @@ function inject_roster_contacts(username, host, roster) 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 -- cgit v1.2.3