diff options
| author | Badlop <badlop@process-one.net> | 2010-06-24 00:02:16 +0200 |
|---|---|---|
| committer | Badlop <badlop@process-one.net> | 2010-06-24 00:02:16 +0200 |
| commit | fe23dbd76e0d592709731b7fa93eb4d55e44b514 (patch) | |
| tree | 9c42a5f77da64eb62f468ed5d4763dd3a5e467cb /src | |
| parent | now admins are able to see private rooms in disco (EJAB-1269) (diff) | |
When account is deleted, delete also member of stored shared rosters.
Diffstat (limited to 'src')
| -rw-r--r-- | src/mod_shared_roster.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl index 60bf6a1af..64a8291b6 100644 --- a/src/mod_shared_roster.erl +++ b/src/mod_shared_roster.erl @@ -655,6 +655,7 @@ push_user_to_members(User, Server, Subscription) -> UserGroups = get_user_displayed_groups(LUser, LServer, GroupsOpts), lists:foreach( fun(Group) -> + remove_user_from_group(LServer, {LUser, LServer}, Group), GroupOpts = proplists:get_value(Group, GroupsOpts, []), GroupName = proplists:get_value(name, GroupOpts, Group), lists:foreach( |
