diff --git a/apps/admin-x-activitypub/package.json b/apps/admin-x-activitypub/package.json index ce659e18a6..8841fcac76 100644 --- a/apps/admin-x-activitypub/package.json +++ b/apps/admin-x-activitypub/package.json @@ -1,6 +1,6 @@ { "name": "@tryghost/admin-x-activitypub", - "version": "0.3.17", + "version": "0.3.18", "license": "MIT", "repository": { "type": "git", diff --git a/apps/admin-x-activitypub/src/components/Inbox.tsx b/apps/admin-x-activitypub/src/components/Inbox.tsx index 08295edd4e..d7c4f403ca 100644 --- a/apps/admin-x-activitypub/src/components/Inbox.tsx +++ b/apps/admin-x-activitypub/src/components/Inbox.tsx @@ -25,7 +25,7 @@ const Inbox: React.FC = ({}) => { includeOwn: true, excludeNonFollowers: true, filter: { - type: ['Create:Article', 'Create:Note', 'Announce:Note'] + type: ['Create:Article:notReply', 'Create:Note:notReply', 'Announce:Note'] } }); const {data, fetchNextPage, hasNextPage, isFetchingNextPage, isLoading} = getActivitiesQuery; @@ -35,9 +35,7 @@ const Inbox: React.FC = ({}) => { const {suggestedProfilesQuery} = useSuggestedProfiles('index', ['@index@activitypub.ghost.org', '@index@john.onolan.org', '@index@coffeecomplex.ghost.io', '@index@codename-jimmy.ghost.io', '@index@syphoncontinuity.ghost.io']); const {data: suggested = [], isLoading: isLoadingSuggested} = suggestedProfilesQuery; - const activities = (data?.pages.flatMap(page => page.data) ?? []).filter((activity) => { - return !activity.object.inReplyTo; - }); + const activities = (data?.pages.flatMap(page => page.data) ?? []); // Intersection observer to fetch more activities when the user scrolls // to the bottom of the page