Improve Create activity handling
This commit is contained in:
parent
09a7287877
commit
7624342ed7
4 changed files with 116 additions and 51 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue