From d2e8cc0a6b5479570c276ecc6d5340b5c6b45d54 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 12 Jul 2022 22:51:42 +0200 Subject: [PATCH] Hide Read activity from the admin inbox --- app/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin.py b/app/admin.py index d32c82b..44f35b6 100644 --- a/app/admin.py +++ b/app/admin.py @@ -280,7 +280,7 @@ async def admin_inbox( ) -> templates.TemplateResponse: where = [ models.InboxObject.ap_type.not_in( - ["Accept", "Delete", "Create", "Update", "Undo"] + ["Accept", "Delete", "Create", "Update", "Undo", "Read"] ), models.InboxObject.is_deleted.is_(False), ]