Mercurial > psgxs
comparison modules/mod_disco.js @ 47:0d3f18bb1d36
Remove usage of fdsq.js in modules.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 10 Mar 2011 16:13:49 +0100 |
parents | 023f767662d3 |
children | 22b06eade9a7 |
comparison
equal
deleted
inserted
replaced
46:3126f8d6a5e3 | 47:0d3f18bb1d36 |
---|---|
115 | 115 |
116 if (config.hideNonAccessibleNodes) { | 116 if (config.hideNonAccessibleNodes) { |
117 var configuration = storage.getConfiguration(nodeID); | 117 var configuration = storage.getConfiguration(nodeID); |
118 if (configuration['pubsub#access_model'] == 'whitelist') { | 118 if (configuration['pubsub#access_model'] == 'whitelist') { |
119 var affils = storage.getAffiliationsFromNodeID(nodeID); | 119 var affils = storage.getAffiliationsFromNodeID(nodeID); |
120 var affil = affils[toBareJID(to)]; | 120 var affil = affils[JID.toBare(to)]; |
121 if (!affil || affil == 'outcast') | 121 if (!affil || affil == 'outcast') |
122 continue; | 122 continue; |
123 } | 123 } |
124 } | 124 } |
125 } | 125 } |