mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-26 23:30:22 +01:00
feat: use defaultWithReplies when creating MiFollowing
This commit is contained in:
parent
9f5ab14d70
commit
846994ba76
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue