summaryrefslogtreecommitdiff
path: root/src/mod_shared_roster_ldap.erl
diff options
context:
space:
mode:
authorAnton Samets <a.samets@gmail.com>2016-03-04 15:52:38 +0300
committerAnton Samets <a.samets@gmail.com>2016-03-04 15:52:38 +0300
commit4013629e5deecf3336b6ae97bf769852dc29c40e (patch)
treeeb8b3792a689914c44bee9d236ace7682ead4213 /src/mod_shared_roster_ldap.erl
parentDefine opt_type required be ejabberd_config behaviour. (diff)
EJAB-1480: fix issue with retreiving user roster
Diffstat (limited to 'src/mod_shared_roster_ldap.erl')
-rw-r--r--src/mod_shared_roster_ldap.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_shared_roster_ldap.erl b/src/mod_shared_roster_ldap.erl
index f57957d1..dd6a7f6d 100644
--- a/src/mod_shared_roster_ldap.erl
+++ b/src/mod_shared_roster_ldap.erl
@@ -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),