Procházet zdrojové kódy

Fix disco#info result stanza

Converse forgot to add the wrapping query element, making the iq
invalid[1].

Thanks to lovetox for reporting this bug!

[1] https://pastebin.com/raw/T7h3FKHu
Emmanuel Gil Peyrot před 7 roky
rodič
revize
8de78dfaf5
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/converse-disco.js

+ 1 - 0
src/converse-disco.js

@@ -297,6 +297,7 @@
                 if (from !== null) {
                     iqresult.attrs({'to': from});
                 }
+                iqresult.c('query', attrs);
                 _.each(plugin._identities, (identity) => {
                     const attrs = {
                         'category': identity.category,