ensureWebfinger was never complete in StatusNet. Worked a bit on it.

This commit is contained in:
Mikael Nordfeldth
2014-07-27 23:06:08 +02:00
parent bb1ac66d74
commit 2d0c7c2c99
2 changed files with 10 additions and 5 deletions

View File

@@ -326,7 +326,7 @@ class OStatusPlugin extends Plugin
'type' => 'mention',
'text' => $target,
'position' => $pos,
'url' => $profile->profileurl);
'url' => $profile->getUrl());
}
} catch (Exception $e) {
$this->log(LOG_ERR, "Webfinger check failed: " . $e->getMessage());
@@ -353,7 +353,7 @@ class OStatusPlugin extends Plugin
'type' => 'mention',
'text' => $target,
'position' => $pos,
'url' => $profile->profileurl);
'url' => $profile->getUrl());
break;
}
} catch (Exception $e) {