0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Reverted reply filtering in admin-x-activitypub (#21355)

refs
[TryGhost/Ghost#21258](https://github.com/TryGhost/Ghost/pull/21258)

Reverted reply filtering in `admin-x-activitypub` that was added in as a
temporary fix
This commit is contained in:
Michael Barrett 2024-10-21 16:06:52 +01:00 committed by GitHub
parent 66a78dc2b1
commit 4277c2a9d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,9 +29,7 @@ const Inbox: React.FC<InboxProps> = ({}) => {
}
});
const activities = (data?.pages.flatMap(page => page.data) ?? []).filter((activity) => {
return !activity.object.inReplyTo;
});
const activities = (data?.pages.flatMap(page => page.data) ?? []);
const handleViewContent = (object: ObjectProperties, actor: ActorProperties, comments: Activity[], focusReply = false) => {
setArticleContent(object);