diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-03-10 12:08:12 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-03-10 12:08:12 +0000 |
commit | b0864396ecb7e3d78e3e287a44f8debb8ab263ea (patch) | |
tree | 84d4b6c2ee1e5feef18fcd5e7b2fb84a13a297ee | |
parent | Fix PEP with other domains and s2s (EJAB-825) (diff) |
typo fix on roster access_model
SVN Revision: 1983
-rw-r--r-- | src/mod_pubsub/mod_pubsub.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 0f94a66b8..e65f548a4 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -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); |