diff options
author | Christian Haase <c.haase@ifu.com> | 2011-06-05 12:18:24 +0100 |
---|---|---|
committer | Christian Haase <c.haase@ifu.com> | 2011-06-05 12:18:24 +0100 |
commit | 82639a7fbfbe2aaa3323024260acb029186381a4 (patch) | |
tree | 86c5dd082a44fd3f39dba628a833ccd35fd5d1f6 | |
parent | b7ab106c4877b8c756a1c742183e057a037a3b0e (diff) | |
download | prosody-82639a7fbfbe2aaa3323024260acb029186381a4.tar.gz prosody-82639a7fbfbe2aaa3323024260acb029186381a4.zip |
mod_groups: Persist changes to mod_groups contacts (e.g. moving groups)
-rw-r--r-- | plugins/mod_groups.lua | 2 |
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 |