This commit is contained in:
Satsuki Yanagi 2019-05-27 08:41:24 +09:00 committed by syuilo
parent 911f5c1455
commit 94ce4fa780

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: {