mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Avoid warnings in the Jetstream process
This commit is contained in:
parent
dc0dee77d0
commit
2e701df21a
3 changed files with 45 additions and 6 deletions
|
@ -133,7 +133,7 @@ class Actor
|
|||
}
|
||||
|
||||
$directory = $this->atprotocol->get(ATProtocol::DIRECTORY . '/' . $profile->did);
|
||||
if (!empty($directory)) {
|
||||
if (!empty($directory->service)) {
|
||||
foreach ($directory->service as $service) {
|
||||
if (($service->id == '#atproto_pds') && ($service->type == 'AtprotoPersonalDataServer') && !empty($service->serviceEndpoint)) {
|
||||
$fields['baseurl'] = $service->serviceEndpoint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue