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

typo fix on roster access_model

SVN Revision: 1984
This commit is contained in:
Christophe Romain 2009-03-10 12:08:41 +00:00
parent 51faa601fa
commit 064d1af5de

View File

@ -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);