mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Merge pull request #980 from sharewax/EJAB-1480
EJAB-1480: fix issue with retreiving user roster
This commit is contained in:
commit
dcefb6bbe3
@ -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