From bcf0ab95b0e678127ffa6ad49f7d0efc85cd77ee Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Mon, 16 May 2011 21:57:25 -0400 Subject: Fix for the non-working code commited by zaran F# --- webclient/lib/alias.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webclient/lib') 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); }, /** -- cgit v1.2.3-70-g09d2