mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 19:30:20 +00:00
Fix error in bluesky addon
This commit is contained in:
parent
fb9c10f8c5
commit
31198294c7
1 changed files with 1 additions and 1 deletions
|
@ -1563,7 +1563,7 @@ function bluesky_get_uri_class(string $uri): ?stdClass
|
|||
}
|
||||
|
||||
$elements = explode(':', $uri);
|
||||
if (empty($elements) || ($elements[0] != 'at')) {
|
||||
if ($elements[0] !== 'at') {
|
||||
$post = Post::selectFirstPost(['extid'], ['uri' => $uri]);
|
||||
return bluesky_get_uri_class($post['extid'] ?? '');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue