- var cancelIQ = $iq({ type: "set", to: queryJID, id: connection.getUniqueId() })
- .c("command", { xmlns: Strophe.NS.ADHOC, node: cmdNode, sessionid: sessionid, action: "cancel" });
- cmdNode = null
- sessionid = null;
+ var cancelIQ = $iq({ type: "set", to: adhoc_status.queryJID, id: connection.getUniqueId() })
+ .c("command", { xmlns: Strophe.NS.ADHOC, node: adhoc_status.cmdNode, sessionid: adhoc_status.sessionid, action: "cancel" });
+ adhoc_status.cmdNode = null
+ adhoc_status.sessionid = null;