forked from mirror/misskey
PackedUserがサイレンスや凍結の情報を持つように (#5255)
This commit is contained in:
parent
84ca3a7d45
commit
fa2c7658a0
@ -145,6 +145,8 @@ export class UserRepository extends Repository<User> {
|
|||||||
bannerColor: user.bannerColor,
|
bannerColor: user.bannerColor,
|
||||||
isLocked: user.isLocked,
|
isLocked: user.isLocked,
|
||||||
isModerator: user.isModerator || falsy,
|
isModerator: user.isModerator || falsy,
|
||||||
|
isSilenced: user.isSilenced || falsy,
|
||||||
|
isSuspended: user.isSuspended || falsy,
|
||||||
description: profile!.description,
|
description: profile!.description,
|
||||||
location: profile!.location,
|
location: profile!.location,
|
||||||
birthday: profile!.birthday,
|
birthday: profile!.birthday,
|
||||||
|
Loading…
Reference in New Issue
Block a user