PackedUserがサイレンスや凍結の情報を持つように (#5255)

This commit is contained in:
Satsuki Yanagi 2019-08-08 09:31:40 +09:00 committed by syuilo
parent 84ca3a7d45
commit fa2c7658a0

View File

@ -145,6 +145,8 @@ export class UserRepository extends Repository<User> {
bannerColor: user.bannerColor,
isLocked: user.isLocked,
isModerator: user.isModerator || falsy,
isSilenced: user.isSilenced || falsy,
isSuspended: user.isSuspended || falsy,
description: profile!.description,
location: profile!.location,
birthday: profile!.birthday,