typo fix on roster access_model

SVN Revision: 1983
This commit is contained in:
Christophe Romain 2009-03-10 12:08:12 +00:00
parent dcac4ed8c8
commit b0864396ec
1 changed files with 2 additions and 1 deletions

View File

@ -519,7 +519,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);