mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
typo fix on roster access_model
SVN Revision: 1984
This commit is contained in:
parent
51faa601fa
commit
064d1af5de
@ -521,7 +521,8 @@ handle_cast({presence, User, Server, Resources, JID}, State) ->
|
||||
authorize -> false; % likewise
|
||||
roster ->
|
||||
Grps = get_option(Options, roster_groups_allowed, []),
|
||||
element(2, get_roster_info(User, Server, LJID, Grps))
|
||||
{OU, OS, _} = Owner,
|
||||
element(2, get_roster_info(OU, OS, LJID, Grps))
|
||||
end,
|
||||
if Subscribed ->
|
||||
send_last_item(Owner, Node, LJID);
|
||||
|
Loading…
Reference in New Issue
Block a user