mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Bluesky: Update actors regularly
This commit is contained in:
parent
cd3d412a59
commit
cd73f6a27b
1 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ class Processor
|
||||||
|
|
||||||
private function getHeaderFromJetstream(stdClass $data, int $uid, int $protocol = Conversation::PARCEL_JETSTREAM): array
|
private function getHeaderFromJetstream(stdClass $data, int $uid, int $protocol = Conversation::PARCEL_JETSTREAM): array
|
||||||
{
|
{
|
||||||
$contact = $this->actor->getContactByDID($data->did, $uid, 0);
|
$contact = $this->actor->getContactByDID($data->did, $uid, 0, true);
|
||||||
if (empty($contact)) {
|
if (empty($contact)) {
|
||||||
$this->logger->info('Contact not found for user', ['did' => $data->did, 'uid' => $uid]);
|
$this->logger->info('Contact not found for user', ['did' => $data->did, 'uid' => $uid]);
|
||||||
return [];
|
return [];
|
||||||
|
@ -392,7 +392,7 @@ class Processor
|
||||||
if (empty($post->author) || empty($post->cid) || empty($parts->rkey)) {
|
if (empty($post->author) || empty($post->cid) || empty($parts->rkey)) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
$contact = $this->actor->getContactByDID($post->author->did, $uid, 0);
|
$contact = $this->actor->getContactByDID($post->author->did, $uid, 0, true);
|
||||||
if (empty($contact)) {
|
if (empty($contact)) {
|
||||||
$this->logger->info('Contact not found for user', ['did' => $post->author->did, 'uid' => $uid]);
|
$this->logger->info('Contact not found for user', ['did' => $post->author->did, 'uid' => $uid]);
|
||||||
return [];
|
return [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue