0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00

Reverted reply filtering in admin-x-activitypub ()

refs
[](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) => { const activities = (data?.pages.flatMap(page => page.data) ?? []);
return !activity.object.inReplyTo;
});
const handleViewContent = (object: ObjectProperties, actor: ActorProperties, comments: Activity[], focusReply = false) => { const handleViewContent = (object: ObjectProperties, actor: ActorProperties, comments: Activity[], focusReply = false) => {
setArticleContent(object); setArticleContent(object);