fix(activitypub): set created_by to null for reblog if no user + update episode oembed data

This commit is contained in:
Yassine Doghri 2022-01-23 15:42:56 +00:00
commit 209dfbd134
7 changed files with 36 additions and 26 deletions

View file

@ -24,12 +24,7 @@ class NoteObject extends FediverseNoteObject
if ($post->episode_id) {
$this->content =
'<a href="' .
$post->episode->link .
'" target="_blank" rel="noopener noreferrer">' .
$post->episode->title .
'</a><br/>' .
$post->message_html;
'<a href="' . $post->episode->link . '">' . $post->episode->title . '</a><br/>' . $post->message_html;
}
}
}