mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
fix(activitypub): set created_by to null for reblog if no user + update episode oembed data
This commit is contained in:
parent
7aa37d24ac
commit
209dfbd134
7 changed files with 36 additions and 26 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue