empty($ff->Pman['XMPP']['username']) ||
empty($ff->Pman['XMPP']['password']) ||
empty($ff->Pman['XMPP']['to']) ||
- empty($ff->Pman['XMPP']['host'])
+ empty($ff->Pman['XMPP']['url'])
) {
return;
}
$conn = new Net_XMPP('talk.google.com', 5222, $ff->Pman['XMPP']['username'], $ff->Pman['XMPP']['password'], 'xmpphp', 'gmail.com', $printlog=false, $loglevel=Net_XMPP_Log::LEVEL_VERBOSE);
- $url = "https://{$ff->Pman['XMPP']['host']}{$ff->baseURL}/Core/VerifyAccess/{$this->id}/{$this->authorized_key}";
+ $url = "{$ff->Pman['XMPP']['url']}/Core/VerifyAccess/{$this->id}/{$this->authorized_key}";
try {
$conn->connect();