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
This commit is contained in:
Emmanuel Gil Peyrot 2018-07-31 15:32:51 +02:00 committed by JC Brand
parent 7c20e16ea8
commit 8de78dfaf5

View File

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