sharedchans does not have users

This commit is contained in:
Reto Brunner 2024-03-03 16:10:19 +01:00
parent 9aee3e3e98
commit c869ea9a73
3 changed files with 1 additions and 3 deletions

View file

@ -17,7 +17,7 @@ interface LoungeWindow extends Window {
type ClientUser = SharedUser;
type ClientChan = Omit<SharedChan, "users" | "messages"> & {
type ClientChan = Omit<SharedChan, "messages"> & {
moreHistoryAvailable: boolean;
editTopic: boolean;
users: ClientUser[];

View file

@ -31,7 +31,6 @@ export type SharedChan = {
firstUnread: number;
unread: number;
highlight: number;
users: Map<string, SharedUser>;
muted: boolean;
type: ChanType;
state: ChanState;

View file

@ -6,7 +6,6 @@ export type SharedPrefixObject = {
};
export type SharedNetworkChan = SharedChan & {
users: []; // TODO: this thing appears useless
totalMessages: number;
};