comparison modules/mod_retrieve.js @ 35:6697f394301f

Replace util with fdsq to work around a stupid bug.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 10 Nov 2010 01:30:03 +0100
parents 8735fc6f6f53
children 45d0cd9388ea
comparison
equal deleted inserted replaced
34:dcf1f09f8cee 35:6697f394301f
1 var config = require('../configuration'); 1 var config = require('../configuration');
2 var storage = require('../storage'); 2 var storage = require('../storage');
3 var errors = require('../errors'); 3 var errors = require('../errors');
4 var makeError = errors.makeError; 4 var makeError = errors.makeError;
5 var toBareJID = require('../util').toBareJID; 5 var toBareJID = require('../fdsq').toBareJID;
6 var NS = require('../namespaces'); 6 var NS = require('../namespaces');
7
8 console.log(require('sys').inspect(toBareJID, false, null));
7 9
8 // SECTION 5.6: Retrieve Subscriptions 10 // SECTION 5.6: Retrieve Subscriptions
9 exports.retrieveSubscriptions = { 11 exports.retrieveSubscriptions = {
10 type: 'get', 12 type: 'get',
11 child: 'pubsub', 13 child: 'pubsub',