# HG changeset patch # User Sonny Piers # Date 1300718432 -3600 # Node ID 22b06eade9a70b83c10abc8f311b1a2bbda6489d # Parent e6c2c66c200231d862707c18bfd20d490338d31d Fix typo error. diff --git a/configuration.js b/configuration.js --- 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'; diff --git a/modules/mod_disco.js b/modules/mod_disco.js --- 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);