aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-06-07 01:29:02 +0100
committerMatthew Wild <mwild1@gmail.com>2011-06-07 01:29:02 +0100
commit7c6db5e1b2d8579501981b1010574f0363330d28 (patch)
tree7522e0f9361afa5816bd22e161eca8949fd5fcfe /plugins
parentb761dbf8c31b0d272fe0005f7f40d281534a82e1 (diff)
downloadprosody-7c6db5e1b2d8579501981b1010574f0363330d28.tar.gz
prosody-7c6db5e1b2d8579501981b1010574f0363330d28.zip
Backout bcdff2b1d3ec from 0.8 - going to commit a slightly cleaner patch for the same issue to trunk
Diffstat (limited to 'plugins')
-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 90c18fa1..7a876f1d 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