mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
When account is deleted, delete also member of stored shared rosters.
This commit is contained in:
parent
234280ddc7
commit
71fc696f81
@ -697,6 +697,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(
|
||||
|
Loading…
Reference in New Issue
Block a user