mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-14 12:07:46 +02:00
fix(fediverse): add is_private field to posts to flag private posts and hide them from public views
This commit is contained in:
parent
08a3779ee3
commit
d5ef2ab86f
25 changed files with 4276 additions and 4233 deletions
|
|
@ -111,6 +111,7 @@ class ActorController extends Controller
|
|||
'actor_id' => $payloadActor->id,
|
||||
'in_reply_to_id' => $replyToPost->id,
|
||||
'message' => $message,
|
||||
'is_private' => ! is_note_public($payload->object),
|
||||
'published_at' => Time::parse($payload->object->published),
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue