Tumblr: "isLocalLink" is now "isLocalUrl" / Bluesky: Fix for an empty uri

This commit is contained in:
Michael 2024-05-16 12:24:34 +00:00
parent 26eea26f95
commit 2306261ab2
2 changed files with 5 additions and 1 deletions

View file

@ -1506,6 +1506,10 @@ function bluesky_fetch_missing_post(string $uri, int $uid, int $fetch_uid, int $
}
$class = bluesky_get_uri_class($uri);
if (empty($class)) {
return $fallback;
}
$fetch_uri = $class->uri;
Logger::debug('Fetch missing post', ['level' => $level, 'uid' => $uid, 'uri' => $uri]);