diff --git a/disco/strophe.disco.js b/disco/strophe.disco.js index eb3f913..571cee8 100644 --- a/disco/strophe.disco.js +++ b/disco/strophe.disco.js @@ -127,7 +127,7 @@ Strophe.addConnectionPlugin('disco', var info = $iq({from:this._connection.jid, to:jid, type:'get'}).c('query', attrs); - this._connection.sendIQ(info, success, error, timeout); + return this._connection.sendIQ(info, success, error, timeout); }, /** Function: items * Items query