# HG changeset patch # User Matthew Wild # Date 1269268502 0 # Node ID f5a5317f34857e344e4a13698932374c4c17a739 # Parent 30895e419e92ef0768c5527618e3271e88c8eafb mod_groups: Fixes to make compatible with roster versioning - set version to 'true' to indicate that the roster is not being versioned diff -r 30895e419e92 -r f5a5317f3485 plugins/mod_groups.lua --- a/plugins/mod_groups.lua Mon Mar 22 14:33:38 2010 +0000 +++ b/plugins/mod_groups.lua Mon Mar 22 14:35:02 2010 +0000 @@ -53,6 +53,10 @@ 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 @@ new_roster[jid] = contact; end end + new_roster[false].version = nil; -- Version is void return username, host, datastore, new_roster; end