feat: use defaultWithReplies when creating MiFollowing

This commit is contained in:
anatawa12 2023-10-16 13:31:08 +09:00
parent 9f5ab14d70
commit 846994ba76
No known key found for this signature in database
GPG key ID: 9CA909848B8E4EA6

View file

@ -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> {
@ -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,