From 016386b350e8bc97ec5ee9686567c2fb844066d2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 May 2018 01:25:54 +0900 Subject: [PATCH] :v: --- src/models/user.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/models/user.ts b/src/models/user.ts index 74ddcc77f..11eafe05e 100644 --- a/src/models/user.ts +++ b/src/models/user.ts @@ -84,6 +84,8 @@ export interface ILocalUser extends IUserBase { twoFactorTempSecret?: string; clientSettings: any; settings: any; + hasUnreadNotification: boolean; + hasUnreadMessagingMessage: boolean; } export interface IRemoteUser extends IUserBase { @@ -387,8 +389,9 @@ export const pack = ( if (!meId || !meId.equals(_user.id) || !opts.detail) { delete _user.avatarId; delete _user.bannerId; - delete _user.driveCapacity; + delete _user.hasUnreadMessagingMessage; + delete _user.hasUnreadNotification; } if (meId && !meId.equals(_user.id)) {