mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-30 17:43:57 +01:00
When account is deleted, delete also member of stored shared rosters.
This commit is contained in:
parent
21d2f4efab
commit
fe23dbd76e
@ -655,6 +655,7 @@ push_user_to_members(User, Server, Subscription) ->
|
|||||||
UserGroups = get_user_displayed_groups(LUser, LServer, GroupsOpts),
|
UserGroups = get_user_displayed_groups(LUser, LServer, GroupsOpts),
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
fun(Group) ->
|
fun(Group) ->
|
||||||
|
remove_user_from_group(LServer, {LUser, LServer}, Group),
|
||||||
GroupOpts = proplists:get_value(Group, GroupsOpts, []),
|
GroupOpts = proplists:get_value(Group, GroupsOpts, []),
|
||||||
GroupName = proplists:get_value(name, GroupOpts, Group),
|
GroupName = proplists:get_value(name, GroupOpts, Group),
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
|
Loading…
Reference in New Issue
Block a user