Ignore:
Timestamp:
06/20/08 15:16:25 (16 years ago)
Author:
niltonneto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/instant_messenger/inc/class.Ujabber.inc.php

    r318 r323  
    5959                        return "disconnected"; 
    6060 
    61                 $this->get_last_access_user(array("jid" => "this")); 
    62  
    6361                if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) 
    6462                { 
     
    7674                        $buffer = ''; 
    7775 
    78                         while ( ( connection_aborted() === 0 ) && time() - $init < 30 ) 
     76                        while ( ( connection_aborted() === 0 ) && time() - $init < 50 ) 
    7977                        { 
    8078                                # read from server and write in the client 
     
    106104        } 
    107105 
     106        public final function checkConnection() 
     107        { 
     108                $this->get_last_access_user(); 
     109                return $this->isConnected(); 
     110        } 
     111 
    108112        public final function Composing($pJid) 
    109113        { 
Note: See TracChangeset for help on using the changeset viewer.