Show Announce on the admin profile page

main
Thomas Sileo 2022-07-27 12:37:33 +02:00
parent 31a2dd6950
commit f57c4a8e0a
1 changed files with 3 additions and 1 deletions

View File

@ -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())
)