mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
EJAB-1480: fix issue with retreiving user roster
This commit is contained in:
parent
6e14a47316
commit
4013629e5d
@ -145,7 +145,7 @@ get_user_roster(Items, {U, S} = US) ->
|
||||
%%case dict:find(US1, SRUsers1) of
|
||||
{value, _, SRUsers2} -> {Item#roster{subscription = both, ask = none}, SRUsers2};
|
||||
%%{ok, _GroupNames} -> {Item#roster{subscription = both, ask = none}, dict:erase(US1, SRUsers1)};
|
||||
error -> {Item, SRUsers1}
|
||||
false -> {Item, SRUsers1}
|
||||
end
|
||||
end,
|
||||
SRUsers, Items),
|
||||
|
Loading…
Reference in New Issue
Block a user