Skip to content

Commit

Permalink
feat: use defaultWithReplies when creating MiFollowing
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Oct 16, 2023
1 parent 9f5ab14 commit 846994b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/backend/src/core/UserFollowingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class UserFollowingService implements OnModuleInit {
id: MiUser['id']; host: MiUser['host']; uri: MiUser['host']; inbox: MiUser['inbox']; sharedInbox: MiUser['sharedInbox']
},
follower: {
id: MiUser['id']; host: MiUser['host']; uri: MiUser['host']; inbox: MiUser['inbox']; sharedInbox: MiUser['sharedInbox']
id: MiUser['id']; host: MiUser['host']; uri: MiUser['host']; inbox: MiUser['inbox']; sharedInbox: MiUser['sharedInbox'], defaultWithReplies: MiUser['defaultWithReplies'];
},
silent = false,
): Promise<void> {
Expand All @@ -199,6 +199,7 @@ export class UserFollowingService implements OnModuleInit {
id: this.idService.gen(),
followerId: follower.id,
followeeId: followee.id,
withReplies: follower.defaultWithReplies,

// 非正規化
followerHost: follower.host,
Expand Down

0 comments on commit 846994b

Please sign in to comment.