Skip to content

Commit 3f9d8ba

Browse files
committed
fixed pubsub iq variable name
1 parent 657dc82 commit 3f9d8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/pubsub.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ exports.createNodeIq = function(nodeId) {
256256
*/
257257
exports.createTopicNodeIq = function(nodeId) {
258258
var pubsubIq = exports.createNodeIq(nodeId).getChild('pubsub', exports.ns);
259-
var form = pubsub.getChild('configure').getChild('x', 'jabber:x:data');
259+
var form = pubsubIq.getChild('configure').getChild('x', 'jabber:x:data');
260260
addFormField(form, 'buddycloud#channel_type', 'text-single', 'topic');
261261
return pubsubIq.root();
262262
};

0 commit comments

Comments
 (0)