diff options
author | Vitaly Takmazov <vitalyster@gmail.com> | 2015-05-18 10:18:55 +0300 |
---|---|---|
committer | Vitaly Takmazov <vitalyster@gmail.com> | 2015-05-18 10:18:55 +0300 |
commit | 784bc1db88169db29d4a30ec665d9a0592002bbc (patch) | |
tree | 22876cce2e5d25ce2a5d0b10adb25ee61dbfbd77 | |
parent | 7a1b06537ea4970f5abe36cbea9f143047c3ddc7 (diff) |
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..b2f16e7 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', Core.about.name).up() + .c('version', Core.about.version).up() + .c('os', navigator.userAgent)); }, /** Function: SetNickname |