From fc9805545b0b0303c4697207d70c7753b6fe111a Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sun, 21 Apr 2024 13:21:26 +0200 Subject: [PATCH] sharedMsg: remove userAway userAway is purely server side and we don't send it to the client --- server/models/chan.ts | 1 - shared/types/chan.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/server/models/chan.ts b/server/models/chan.ts index 83bbae6a..8034e520 100644 --- a/server/models/chan.ts +++ b/server/models/chan.ts @@ -217,7 +217,6 @@ class Chan { type: this.type, state: this.state, - userAway: this.userAway, special: this.special, data: this.data, closed: this.closed, diff --git a/shared/types/chan.ts b/shared/types/chan.ts index ddec0ffb..155901f8 100644 --- a/shared/types/chan.ts +++ b/shared/types/chan.ts @@ -35,7 +35,6 @@ export type SharedChan = { type: ChanType; state: ChanState; - userAway?: boolean; special?: SpecialChanType; data?: any; closed?: boolean;