return jabber login status - should work... but needs testing nonetheless.

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8694 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2008-07-28 13:30:38 +00:00
parent cf3d5c3416
commit ebc4d73930

View file

@ -399,13 +399,11 @@ class jabber
$second_time = isset($this->session['id']); $second_time = isset($this->session['id']);
$this->session['id'] = $xml['stream:stream'][0]['@']['id']; $this->session['id'] = $xml['stream:stream'][0]['@']['id'];
/** Currently commented out due to problems with some jabber server - reason unknown
if ($second_time) if ($second_time)
{ {
// If we are here for the second time after TLS, we need to continue logging in // If we are here for the second time after TLS, we need to continue logging in
$this->login(); return $this->login();
return; }
}*/
// go on with authentication? // go on with authentication?
if (isset($this->features['stream:features'][0]['#']['bind']) || !empty($this->session['tls'])) if (isset($this->features['stream:features'][0]['#']['bind']) || !empty($this->session['tls']))