Changeset 311 for trunk/instant_messenger/inc
- Timestamp:
- 06/10/08 16:41:40 (16 years ago)
- Location:
- trunk/instant_messenger/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/inc/Jabberd2.abstract.php
r305 r311 171 171 } 172 172 173 final function get_last_access_user($pUser) 174 { 175 $id = "last_time_user"; 176 $jid = ( trim($pUser['jid']) == "this" ) ? $this->_user . '@' . $this->_server : $pUser['jid']; 177 $this->iq('get', $id, $jid, NULL, "jabber:iq:last"); 178 } 179 173 180 final function setStatus() 174 181 { -
trunk/instant_messenger/inc/class.Ujabber.inc.php
r305 r311 74 74 return "disconnected"; 75 75 76 $this->get_last_access_user(array("jid" => "this")); 77 76 78 if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) 77 79 { … … 89 91 $buffer = ''; 90 92 91 while ( ( connection_aborted() === 0 ) && time() - $init < 50 )93 while ( ( connection_aborted() === 0 ) && time() - $init < 30 ) 92 94 { 93 95 # read from server and write in the client
Note: See TracChangeset
for help on using the changeset viewer.