1
0
forked from mirror/misskey

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, 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,