summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Khramtsov <xramtsov@gmail.com>2016-03-14 17:49:01 +0300
committerEvgeny Khramtsov <xramtsov@gmail.com>2016-03-14 17:49:01 +0300
commitdcefb6bbe32bb02f100d554835621f8dc3734177 (patch)
tree3c6196360897da04042df0bdd9032e644d705f7d /src
parentFix Addresses element which lacked others local destinations (diff)
parentEJAB-1480: fix issue with retreiving user roster (diff)
Merge pull request #980 from sharewax/EJAB-1480
EJAB-1480: fix issue with retreiving user roster
Diffstat (limited to 'src')
-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),