2
0
Эх сурвалжийг харах

Fix parameters signature for `onDiscoInfoRequest`

JC Brand 4 жил өмнө
parent
commit
ff14a706cf

+ 1 - 1
src/headless/plugins/disco/utils.js

@@ -4,7 +4,7 @@ import { Collection } from "@converse/skeletor/src/collection";
 const { Strophe, $iq } = converse.env;
 
 
-function onDiscoInfoRequest (identities, features, stanza) {
+function onDiscoInfoRequest (stanza) {
     const node = stanza.getElementsByTagName('query')[0].getAttribute('node');
     const attrs = {xmlns: Strophe.NS.DISCO_INFO};
     if (node) { attrs.node = node; }