js/supportchat.js

changeset 14
5f5e198381cc
parent 13
7ae5a537d7f1
child 15
071c513502d1
equal deleted inserted replaced
13:7ae5a537d7f1 14:5f5e198381cc
17 else if(status != Strophe.Status.CONNECTED) 17 else if(status != Strophe.Status.CONNECTED)
18 set_busy_status(true); 18 set_busy_status(true);
19 19
20 if(err) 20 if(err)
21 alert(err); //FIXME: Handle gracefully 21 alert(err); //FIXME: Handle gracefully
22
23 if(status == Strophe.Status.CONNECTED)
24 {
25 //FIXME: Join MUC
26 alert("Connected!");
27 }
28 } 22 }
29 23
30 /* Initiate the connection to the XMPP server */ 24 /* Initiate the connection to the XMPP server */
31 function start_connection() 25 function start_connection()
32 { 26 {

mercurial