- Timestamp:
- 04/22/10 17:12:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/jabberit_messenger/trophy_expresso/js/trophyim.js
r2607 r2620 420 420 if( status == Strophe.Status.CONNFAIL ) 421 421 { 422 Strophe.info('Strophe failed to connect.');423 422 TrophyIM.delCookie('trophyim_bosh_xid'); 424 TrophyIM.s howLogin();423 TrophyIM.statusConn.connected = false; 425 424 } 426 425 427 426 if( status == Strophe.Status.DISCONNECTING ) 428 427 { 429 Strophe.info('Strophe is disconnecting.');428 TrophyIM.statusConn.connected = false; 430 429 } 431 430 432 431 if( status == Strophe.Status.DISCONNECTED ) 433 432 { 434 Strophe.info('Strophe is disconnected.');435 433 TrophyIM.delCookie('trophyim_bosh_xid'); 436 TrophyIM.showLogin(); 434 435 TrophyIM.statusConn.connected = false; 436 437 setTimeout(function() 438 { 439 TrophyIM.showLogin(); 440 441 442 },10000); 443 444 loadIM.clrAllContacts(); 445 446 loadIM.setStatusJabber("Desconectado","unavailable"); 447 448 delete TrophyIM.rosterObj.roster; 449 delete TrophyIM.rosterObj.groups; 437 450 } 438 451 … … 442 455 TrophyIM.statusConn.connected = true; 443 456 TrophyIM.showClient(); 444 Strophe.info('Strophe is connected.');445 457 } 446 458 },
Note: See TracChangeset
for help on using the changeset viewer.