mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-22 19:32:54 +03:00
Reverted revert of reply filtering in admin-x-activitypub (#21357)
no refs
This commit is contained in:
parent
7c32527159
commit
2f70d29baa
@ -38,7 +38,9 @@ const Inbox: React.FC<InboxProps> = ({}) => {
|
||||
const {suggestedProfilesQuery} = useSuggestedProfiles('index', ['@quillmatiq@mastodon.social', '@miaq@flipboard.social', '@mallory@techpolicy.social']);
|
||||
const {data: suggested = [], isLoading: isLoadingSuggested} = suggestedProfilesQuery;
|
||||
|
||||
const activities = (data?.pages.flatMap(page => page.data) ?? []);
|
||||
const activities = (data?.pages.flatMap(page => page.data) ?? []).filter((activity) => {
|
||||
return !activity.object.inReplyTo;
|
||||
});
|
||||
|
||||
const handleViewContent = (object: ObjectProperties, actor: ActorProperties, comments: Activity[], focusReply = false) => {
|
||||
setArticleContent(object);
|
||||
|
Loading…
Reference in New Issue
Block a user