We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657dc82 commit 3f9d8baCopy full SHA for 3f9d8ba
src/util/pubsub.js
@@ -256,7 +256,7 @@ exports.createNodeIq = function(nodeId) {
256
*/
257
exports.createTopicNodeIq = function(nodeId) {
258
var pubsubIq = exports.createNodeIq(nodeId).getChild('pubsub', exports.ns);
259
- var form = pubsub.getChild('configure').getChild('x', 'jabber:x:data');
+ var form = pubsubIq.getChild('configure').getChild('x', 'jabber:x:data');
260
addFormField(form, 'buddycloud#channel_type', 'text-single', 'topic');
261
return pubsubIq.root();
262
};
0 commit comments