forked from GNUsocial/gnu-social
Use the upstream function to get effectiveUrl
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user