forked from GNUsocial/gnu-social
info about discovery in Ostatus_profile::ensureWebfinger()
This commit is contained in:
parent
a43598c31e
commit
e197208a4a
@ -1407,6 +1407,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
|
||||
if (isset($feedUrl)) {
|
||||
try {
|
||||
common_log(LOG_INFO, "Discovery on acct:$addr with feed URL $feedUrl");
|
||||
$oprofile = self::ensureProfile($feedUrl, $hints);
|
||||
self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->uri);
|
||||
return $oprofile;
|
||||
@ -1420,6 +1421,7 @@ class Ostatus_profile extends Memcached_DataObject
|
||||
|
||||
if (isset($profileUrl)) {
|
||||
try {
|
||||
common_log(LOG_INFO, "Discovery on acct:$addr with profile URL $profileUrl");
|
||||
$oprofile = self::ensureProfile($profileUrl, $hints);
|
||||
self::cacheSet(sprintf('ostatus_profile:webfinger:%s', $addr), $oprofile->uri);
|
||||
return $oprofile;
|
||||
|
Loading…
Reference in New Issue
Block a user