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
|
case dict:find(US1, SRUsers1) of
|
||||||
{ok, GroupNames} ->
|
{ok, GroupNames} ->
|
||||||
{Item#roster_item{subscription = both,
|
{Item#roster_item{subscription = both,
|
||||||
groups = Item#roster_item.groups ++ GroupNames,
|
groups = Item#roster_item.groups ++ GroupNames},
|
||||||
ask = none},
|
|
||||||
dict:erase(US1, SRUsers1)};
|
dict:erase(US1, SRUsers1)};
|
||||||
error ->
|
error ->
|
||||||
{Item, SRUsers1}
|
{Item, SRUsers1}
|
||||||
|
Loading…
Reference in New Issue
Block a user