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)) {
$this->logger->info('Contact not found for user', ['did' => $data->did, 'uid' => $uid]);
return [];
if (empty($post->author) || empty($post->cid) || empty($parts->rkey)) {
return [];
}
- $contact = $this->actor->getContactByDID($post->author->did, $uid, 0);
+ $contact = $this->actor->getContactByDID($post->author->did, $uid, 0, true);
if (empty($contact)) {
$this->logger->info('Contact not found for user', ['did' => $post->author->did, 'uid' => $uid]);
return [];