From 217335971835b6c3e0a35f14283e2c90189d4254 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 16 Mar 2016 12:56:11 +0000 Subject: [PATCH] Set dataType JSON of ajax request of `prebind_url` --- src/converse-core.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/converse-core.js b/src/converse-core.js index b23102590..5331b466a 100755 --- a/src/converse-core.js +++ b/src/converse-core.js @@ -1615,6 +1615,7 @@ $.ajax({ url: this.prebind_url, type: 'GET', + dataType: "json", success: function (response) { this.connection.attach( response.jid,