mirror of
https://github.com/thelounge/thelounge
synced 2025-02-16 13:18:24 +00:00
sharedchans does not have users
This commit is contained in:
parent
9aee3e3e98
commit
c869ea9a73
3 changed files with 1 additions and 3 deletions
2
client/js/types.d.ts
vendored
2
client/js/types.d.ts
vendored
|
@ -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[];
|
||||
|
|
|
@ -31,7 +31,6 @@ export type SharedChan = {
|
|||
firstUnread: number;
|
||||
unread: number;
|
||||
highlight: number;
|
||||
users: Map<string, SharedUser>;
|
||||
muted: boolean;
|
||||
type: ChanType;
|
||||
state: ChanState;
|
||||
|
|
|
@ -6,7 +6,6 @@ export type SharedPrefixObject = {
|
|||
};
|
||||
|
||||
export type SharedNetworkChan = SharedChan & {
|
||||
users: []; // TODO: this thing appears useless
|
||||
totalMessages: number;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue