From f57c4a8e0a0d8901cb5fcbf720d3837ded80ccc9 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 27 Jul 2022 12:37:33 +0200 Subject: [PATCH] Show Announce on the admin profile page --- app/admin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/admin.py b/app/admin.py index 465808b..f820e74 100644 --- a/app/admin.py +++ b/app/admin.py @@ -518,7 +518,9 @@ async def admin_profile( .where( models.InboxObject.is_deleted.is_(False), models.InboxObject.actor_id == actor.id, - models.InboxObject.ap_type.in_(["Note", "Article", "Video"]), + models.InboxObject.ap_type.in_( + ["Note", "Article", "Video", "Page", "Announce"] + ), ) .order_by(models.InboxObject.ap_published_at.desc()) )