mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Show Announce on the admin profile page
This commit is contained in:
@ -518,7 +518,9 @@ async def admin_profile(
|
|||||||
.where(
|
.where(
|
||||||
models.InboxObject.is_deleted.is_(False),
|
models.InboxObject.is_deleted.is_(False),
|
||||||
models.InboxObject.actor_id == actor.id,
|
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())
|
.order_by(models.InboxObject.ap_published_at.desc())
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user