Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-09-01 13:53:24 +0300
committerBadlop <badlop@process-one.net>2022-09-01 14:02:54 +0300
commit808def7d32fc5fed40d982d26e6f0ff028a736c7 (patch)
treecf3b7ae7ae0b9c627e28fd03173ee549ba63a958 /src
parent4ae06f039d4c2bf8af71d658ba10b63e41bd0472 (diff)
The #roster_item.ask allowed values are subscribe|undefined
Diffstat (limited to 'src')
-rw-r--r--src/mod_shared_roster_ldap.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_shared_roster_ldap.erl b/src/mod_shared_roster_ldap.erl
index 36ed63c97..ebcb77ab3 100644
--- a/src/mod_shared_roster_ldap.erl
+++ b/src/mod_shared_roster_ldap.erl
@@ -118,8 +118,7 @@ get_user_roster(Items, US) ->
case dict:find(US1, SRUsers1) of
{ok, GroupNames} ->
{Item#roster_item{subscription = both,
- groups = Item#roster_item.groups ++ GroupNames,
- ask = none},
+ groups = Item#roster_item.groups ++ GroupNames},
dict:erase(US1, SRUsers1)};
error ->
{Item, SRUsers1}