aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_groups.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_groups.lua')
-rw-r--r--plugins/mod_groups.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mod_groups.lua b/plugins/mod_groups.lua
index 7ef0d138..69a4dcdc 100644
--- a/plugins/mod_groups.lua
+++ b/plugins/mod_groups.lua
@@ -53,6 +53,10 @@ function inject_roster_contacts(username, host, roster)
import_jids_to_roster(group_name);
end
end
+
+ if roster[false] then
+ roster[false].version = true;
+ end
end
function remove_virtual_contacts(username, host, datastore, data)
@@ -63,6 +67,7 @@ function remove_virtual_contacts(username, host, datastore, data)
new_roster[jid] = contact;
end
end
+ new_roster[false].version = nil; -- Version is void
return username, host, datastore, new_roster;
end