Use the upstream function to get effectiveUrl

This commit is contained in:
Mikael Nordfeldth
2016-01-13 14:00:05 +01:00
parent eceafb84de
commit e75472f460
6 changed files with 11 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ class LooseOstatusProfile extends Ostatus_profile
// Check if we have a non-canonical URL
$finalUrl = $response->getUrl();
$finalUrl = $response->getEffectiveUrl();
if ($finalUrl != $profile_url) {
$hints['profileurl'] = $finalUrl;