Mercurial > psgxs
changeset 51:22b06eade9a7
Fix typo error.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Mon, 21 Mar 2011 15:40:32 +0100 |
parents | e6c2c66c2002 |
children | 296de54c1c4b |
files | configuration.js modules/mod_disco.js |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configuration.js +++ b/configuration.js @@ -21,14 +21,14 @@ var config = exports; -config.jid = 'pubsub.example.org'; -config.password = 'hellohello'; +config.jid = 'pubsub.plugsbee.com'; +config.password = 'douzeetdouzefont1212'; config.host = 'localhost'; config.port = 5347; -config.superOwner = ['you@example.com']; +config.superOwner = ['sonny@plugsbee.com']; config.version = '0.1'; config.os = 'GNU/Linux'; -config.allowCreateNode = [/@example\.com$/]; // value is an array of RegExp JIDs. If only super-owner should be able to create nodes, use []. +config.allowCreateNode = [/(.*)/]; config.backend = 'directory'; // Put backends in “backends” directory. config.access = 'open'; // values include open, whitelist (by members) and authorize (owners of the node receive notification). presence and roster aren’t implemented yet. config.pluginsDir = 'modules';
--- a/modules/mod_disco.js +++ b/modules/mod_disco.js @@ -112,6 +112,8 @@ exports.disco_items = { var metadata = storage.getMetadata(nodeID); if (metadata['pubsub#title']) attr.name = metadata['pubsub#title']; + if (metadata['pubsub#creator']) + attr.creator = metadata['pubsub#creator']; if (config.hideNonAccessibleNodes) { var configuration = storage.getConfiguration(nodeID);