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

This commit is contained in:
Satsuki Yanagi 2019-08-08 09:31:40 +09:00 committed by syuilo
parent eddbae7ba0
commit 84537a2748

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,