From c869ea9a7380c102b732df58c2adb923fa1307d6 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sun, 3 Mar 2024 16:10:19 +0100 Subject: [PATCH] sharedchans does not have users --- client/js/types.d.ts | 2 +- shared/types/chan.ts | 1 - shared/types/network.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/client/js/types.d.ts b/client/js/types.d.ts index 90177cbf..e69fbc86 100644 --- a/client/js/types.d.ts +++ b/client/js/types.d.ts @@ -17,7 +17,7 @@ interface LoungeWindow extends Window { type ClientUser = SharedUser; -type ClientChan = Omit & { +type ClientChan = Omit & { moreHistoryAvailable: boolean; editTopic: boolean; users: ClientUser[]; diff --git a/shared/types/chan.ts b/shared/types/chan.ts index c0a1b68c..38c4feb8 100644 --- a/shared/types/chan.ts +++ b/shared/types/chan.ts @@ -31,7 +31,6 @@ export type SharedChan = { firstUnread: number; unread: number; highlight: number; - users: Map; muted: boolean; type: ChanType; state: ChanState; diff --git a/shared/types/network.ts b/shared/types/network.ts index 80b22b7a..19984ee7 100644 --- a/shared/types/network.ts +++ b/shared/types/network.ts @@ -6,7 +6,6 @@ export type SharedPrefixObject = { }; export type SharedNetworkChan = SharedChan & { - users: []; // TODO: this thing appears useless totalMessages: number; };