aboutsummaryrefslogtreecommitdiffstats
path: root/webclient/lib
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2011-05-16 21:57:25 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2011-05-16 21:57:25 -0400
commitbcf0ab95b0e678127ffa6ad49f7d0efc85cd77ee (patch)
treef5cb0de78150726eb376af3129f6880a1e9958d7 /webclient/lib
parent1e5d2ca7df87c5365908106fce493cf81edbec75 (diff)
downloadalias-bcf0ab95b0e678127ffa6ad49f7d0efc85cd77ee.tar.gz
Fix for the non-working code commited by zaran
F#
Diffstat (limited to 'webclient/lib')
-rw-r--r--webclient/lib/alias.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/lib/alias.js b/webclient/lib/alias.js
index e8174c0..de0d865 100644
--- a/webclient/lib/alias.js
+++ b/webclient/lib/alias.js
@@ -22,8 +22,8 @@ var Alias = {
*/
getInit: function() {
var init = $iq({to: server_component, type:'get'});
- init.c('query',{xmlns:'jaber:iq:register'});
- Alias.connection.sendIQ(init, onInit);
+ init.c('query',{xmlns:'jabber:iq:register'});
+ Alias.connection.sendIQ(init, Alias.onInit);
},
/**