mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Improve Create activity handling
This commit is contained in:
@ -193,7 +193,9 @@ async def admin_inbox(
|
||||
filter_by: str | None = None,
|
||||
cursor: str | None = None,
|
||||
) -> templates.TemplateResponse:
|
||||
where = [models.InboxObject.ap_type.not_in(["Accept", "Delete"])]
|
||||
where = [
|
||||
models.InboxObject.ap_type.not_in(["Accept", "Delete", "Create", "Update"])
|
||||
]
|
||||
if filter_by:
|
||||
where.append(models.InboxObject.ap_type == filter_by)
|
||||
if cursor:
|
||||
|
Reference in New Issue
Block a user