comparison modules/mod_publish.js @ 34:dcf1f09f8cee

Add message to publish module and various fixes.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 05 Nov 2010 15:31:13 +0100
parents 62cbb1c49bc5
children 6697f394301f
comparison
equal deleted inserted replaced
33:62cbb1c49bc5 34:dcf1f09f8cee
1 var config = require('../configuration'); 1 var config = require('../configuration');
2 var storage = require('../storage'); 2 var storage = require('../storage');
3 var notifs = require('../notifs'); 3 var notifs = require('../notifs');
4 var toBareJID = require('../util').toBareJID; 4 var errors = require('../errors');
5 var utils = require('../util');
6 var toBareJID = utils.toBareJID;
5 var NS = require('../namespaces'); 7 var NS = require('../namespaces');
6 8
7 // SECTION 7.1: Publish an Item to a Node 9 // SECTION 7.1: Publish an Item to a Node
8 exports.publish = { 10 exports.publish = {
9 type: 'set', 11 type: 'set',