diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-03-10 12:08:41 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-03-10 12:08:41 +0000 |
commit | 064d1af5de6e95912e1b7d4cfdc1e7b43469a1a7 (patch) | |
tree | f6ab814572e766feb49f63893a74b882bda200b1 /src | |
parent | Fix PEP with other domains and s2s (EJAB-825) (diff) |
typo fix on roster access_model
SVN Revision: 1984
Diffstat (limited to 'src')
-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 cc611a23..3a57a8d6 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -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); |