Hide EmojiReact from inbox
This commit is contained in:
parent
7fa455d797
commit
159adaba94
2 changed files with 15 additions and 2 deletions
12
app/admin.py
12
app/admin.py
|
@ -300,7 +300,17 @@ async def admin_inbox(
|
|||
) -> templates.TemplateResponse:
|
||||
where = [
|
||||
models.InboxObject.ap_type.not_in(
|
||||
["Accept", "Delete", "Create", "Update", "Undo", "Read", "Add", "Remove"]
|
||||
[
|
||||
"Accept",
|
||||
"Delete",
|
||||
"Create",
|
||||
"Update",
|
||||
"Undo",
|
||||
"Read",
|
||||
"Add",
|
||||
"Remove",
|
||||
"EmojiReact",
|
||||
]
|
||||
),
|
||||
models.InboxObject.is_deleted.is_(False),
|
||||
models.InboxObject.is_transient.is_(False),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue