This commit is contained in:
Satsuki Yanagi 2019-05-27 08:41:24 +09:00 committed by syuilo
parent df848f272c
commit 1bb16cab5a

View File

@ -176,6 +176,7 @@ export class UserRepository extends Repository<User> {
autoWatch: profile!.autoWatch,
alwaysMarkNsfw: profile!.alwaysMarkNsfw,
carefulBot: profile!.carefulBot,
autoAcceptFollowed: profile!.autoAcceptFollowed,
hasUnreadMessagingMessage: this.getHasUnreadMessagingMessage(user.id),
hasUnreadNotification: Notifications.count({
where: {