normalizing acct: URI just to be sure

This commit is contained in:
Mikael Nordfeldth 2014-11-16 18:29:05 +01:00
parent 34f6ea1d04
commit 496acdc7d9

View File

@ -1922,7 +1922,7 @@ class Ostatus_profile extends Managed_DataObject
}
// Try looking it up
$oprofile = Ostatus_profile::getKV('uri', 'acct:'.$addr);
$oprofile = Ostatus_profile::getKV('uri', Discovery::normalize($addr));
if ($oprofile instanceof Ostatus_profile) {
self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->getUri());