25
1
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:
Anton Samets 2016-03-04 15:52:38 +03:00
parent 6e14a47316
commit 4013629e5d

View File

@ -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),