mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
✌️
This commit is contained in:
parent
7c35faf546
commit
07ca838024
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user