mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Hide Read activity from the admin inbox
This commit is contained in:
@ -280,7 +280,7 @@ async def admin_inbox(
|
|||||||
) -> templates.TemplateResponse:
|
) -> templates.TemplateResponse:
|
||||||
where = [
|
where = [
|
||||||
models.InboxObject.ap_type.not_in(
|
models.InboxObject.ap_type.not_in(
|
||||||
["Accept", "Delete", "Create", "Update", "Undo"]
|
["Accept", "Delete", "Create", "Update", "Undo", "Read"]
|
||||||
),
|
),
|
||||||
models.InboxObject.is_deleted.is_(False),
|
models.InboxObject.is_deleted.is_(False),
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user