aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_groups.lua
diff options
context:
space:
mode:
authorChristian Haase <c.haase@ifu.com>2011-06-05 12:18:24 +0100
committerChristian Haase <c.haase@ifu.com>2011-06-05 12:18:24 +0100
commit82639a7fbfbe2aaa3323024260acb029186381a4 (patch)
tree86c5dd082a44fd3f39dba628a833ccd35fd5d1f6 /plugins/mod_groups.lua
parentb7ab106c4877b8c756a1c742183e057a037a3b0e (diff)
downloadprosody-82639a7fbfbe2aaa3323024260acb029186381a4.tar.gz
prosody-82639a7fbfbe2aaa3323024260acb029186381a4.zip
mod_groups: Persist changes to mod_groups contacts (e.g. moving groups)
Diffstat (limited to 'plugins/mod_groups.lua')
-rw-r--r--plugins/mod_groups.lua2
1 files changed, 1 insertions, 1 deletions
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