Merge remote-tracking branch 'misskey/master' into feature/2024.9.0
This commit is contained in:
@@ -556,7 +556,7 @@ export class UserEntityService implements OnModuleInit {
|
||||
name: r.name,
|
||||
iconUrl: r.iconUrl,
|
||||
displayOrder: r.displayOrder,
|
||||
}))
|
||||
})),
|
||||
) : undefined,
|
||||
|
||||
...(isDetailed ? {
|
||||
@@ -613,6 +613,7 @@ export class UserEntityService implements OnModuleInit {
|
||||
avatarId: user.avatarId,
|
||||
bannerId: user.bannerId,
|
||||
backgroundId: user.backgroundId,
|
||||
followedMessage: profile!.followedMessage,
|
||||
isModerator: isModerator,
|
||||
isAdmin: isAdmin,
|
||||
isSystem: isSystemAccount(user),
|
||||
@@ -683,6 +684,7 @@ export class UserEntityService implements OnModuleInit {
|
||||
isRenoteMuted: relation.isRenoteMuted,
|
||||
notify: relation.following?.notify ?? 'none',
|
||||
withReplies: relation.following?.withReplies ?? false,
|
||||
followedMessage: relation.isFollowing ? profile!.followedMessage : undefined,
|
||||
} : {}),
|
||||
} as Promiseable<Packed<S>>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user