mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
The #roster_item.ask allowed values are subscribe|undefined
This commit is contained in:
parent
4ae06f039d
commit
808def7d32
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user