From 3c598555f40d2166715d3ea775ec6e20928a40c2 Mon Sep 17 00:00:00 2001 From: sualko Date: Mon, 21 Aug 2017 16:28:48 +0200 Subject: [PATCH] bump version --- package.json | 2 +- strophe.jinglejs-bundle.js | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8e26472..f67c805 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "strophe.jinglejs", - "version": "0.2.2", + "version": "0.2.3", "description": "This package adds jingle.js to strophe.js", "main": "strophe.jinglejs.js", "author": "Klaus Herberth ", diff --git a/strophe.jinglejs-bundle.js b/strophe.jinglejs-bundle.js index 71465d7..f9e0704 100644 --- a/strophe.jinglejs-bundle.js +++ b/strophe.jinglejs-bundle.js @@ -1,5 +1,5 @@ /*! - * strophe.jinglejs v0.2.2 - 2017-08-01 + * strophe.jinglejs v0.2.3 - 2017-08-21 * * Copyright (c) 2017 Klaus Herberth
* Released under the MIT license @@ -7,7 +7,7 @@ * Please see https://github.com/sualko/strophe.jinglejs/ * * @author Klaus Herberth - * @version 0.2.2 + * @version 0.2.3 * @license MIT */ @@ -33985,6 +33985,10 @@ var IqStanza = jxt.getDefinition('iq', 'jabber:client'); var iq = new IqStanza(data); + if (!iq.id) { + iq.id = self.connection.getUniqueId('sendIQ'); + } + self.connection.send($.parseXML(iq.toString()).getElementsByTagName('iq')[0]); });