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

Fixed inbox tab not showing user's own posts in admin-x-activitypub (#21601)

refs
[AP-588](https://linear.app/ghost/issue/AP-588/inbox-tab-not-showing-users-own-posts)

Fixed inbox tab not showing user's own posts in admin-x-activitypub by
ensuring that the `includeOwn` parameter is set to `true` when fetching
the activities for the inbox tab
This commit is contained in:
Michael Barrett 2024-11-12 15:59:26 +00:00 committed by GitHub
parent d555cc6612
commit 0f2058cc2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ const Inbox: React.FC<InboxProps> = ({}) => {
const {getActivitiesQuery, updateActivity} = useActivitiesForUser({
handle: 'index',
includeOwn: true,
excludeNonFollowers: true,
filter: {
type: ['Create:Article', 'Create:Note', 'Announce:Note']