Browse Source

Fix parameters signature for `onDiscoInfoRequest`

JC Brand 4 years ago
parent
commit
ff14a706cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/headless/plugins/disco/utils.js

+ 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; }