forked from GNUsocial/gnu-social
normalizing acct: URI just to be sure
This commit is contained in:
parent
34f6ea1d04
commit
496acdc7d9
@ -1922,7 +1922,7 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Try looking it up
|
// Try looking it up
|
||||||
$oprofile = Ostatus_profile::getKV('uri', 'acct:'.$addr);
|
$oprofile = Ostatus_profile::getKV('uri', Discovery::normalize($addr));
|
||||||
|
|
||||||
if ($oprofile instanceof Ostatus_profile) {
|
if ($oprofile instanceof Ostatus_profile) {
|
||||||
self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->getUri());
|
self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->getUri());
|
||||||
|
Loading…
Reference in New Issue
Block a user