diff options
author | Michael Weibel <mweibel@users.noreply.github.com> | 2015-05-18 19:36:35 +0300 |
---|---|---|
committer | Michael Weibel <mweibel@users.noreply.github.com> | 2015-05-18 19:36:35 +0300 |
commit | 450dd6f7c7bc6987d47f02f1858a75471315cfae (patch) | |
tree | 8f8d798968a0d7e736f659d76b67a8c8a65c9609 | |
parent | 7a1b06537ea4970f5abe36cbea9f143047c3ddc7 (diff) | |
parent | 410979b7953677f341b43fd2b15077271c757d23 (diff) |
Merge pull request #392 from vitalyster/version
fix jabber:iq:version reply
-rw-r--r-- | src/core/action.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/action.js b/src/core/action.js index 77febab..b72a946 100644 --- a/src/core/action.js +++ b/src/core/action.js @@ -39,10 +39,11 @@ Candy.Core.Action = (function(self, Strophe, $) { from: Candy.Util.escapeJid(msg.attr('to')), id: msg.attr('id') }).c('query', { - name: Candy.about.name, - version: Candy.about.version, - os: navigator.userAgent - })); + xmlns: Strophe.NS.VERSION + }) + .c('name', Candy.about.name).up() + .c('version', Candy.about.version).up() + .c('os', navigator.userAgent)); }, /** Function: SetNickname |