diff --git a/packages/backend/src/core/activitypub/type.ts b/packages/backend/src/core/activitypub/type.ts index 79c561d933..7200d04f5a 100644 --- a/packages/backend/src/core/activitypub/type.ts +++ b/packages/backend/src/core/activitypub/type.ts @@ -195,6 +195,8 @@ export interface IActivity extends IObject { export interface SafeList { id: string; + content: string | null; + tag: IObject | IObject[]; published: string; visibility: string; mentionedUsers: any[]; @@ -204,6 +206,8 @@ export interface SafeList { function extractSafe(object: IObject): Partial { return { id: object.id, + content: object.content, + tag: object.tag, published: object.published, visibility: object.visibility, mentionedUsers: object.mentionedUsers,