Allow to hide shares from actors
This commit is contained in:
parent
22410862f3
commit
15dd7e184b
5 changed files with 96 additions and 1 deletions
|
@ -2205,7 +2205,10 @@ async def _handle_announce_activity(
|
|||
db_session.add(announced_inbox_object)
|
||||
await db_session.flush()
|
||||
announce_activity.relates_to_inbox_object_id = announced_inbox_object.id
|
||||
announce_activity.is_hidden_from_stream = not is_from_following
|
||||
announce_activity.is_hidden_from_stream = (
|
||||
not is_from_following
|
||||
or announce_activity.actor.are_announces_hidden_from_stream
|
||||
)
|
||||
|
||||
|
||||
async def _handle_like_activity(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue