25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

The #roster_item.ask allowed values are subscribe|undefined

This commit is contained in:
Badlop 2022-09-01 12:53:24 +02:00
parent 4ae06f039d
commit 808def7d32

View File

@ -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}