mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-06 15:52:17 +02:00
sharedchans does not have users
This commit is contained in:
parent
9aee3e3e98
commit
c869ea9a73
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 ClientUser = SharedUser;
|
||||||
|
|
||||||
type ClientChan = Omit<SharedChan, "users" | "messages"> & {
|
type ClientChan = Omit<SharedChan, "messages"> & {
|
||||||
moreHistoryAvailable: boolean;
|
moreHistoryAvailable: boolean;
|
||||||
editTopic: boolean;
|
editTopic: boolean;
|
||||||
users: ClientUser[];
|
users: ClientUser[];
|
||||||
|
|
|
@ -31,7 +31,6 @@ export type SharedChan = {
|
||||||
firstUnread: number;
|
firstUnread: number;
|
||||||
unread: number;
|
unread: number;
|
||||||
highlight: number;
|
highlight: number;
|
||||||
users: Map<string, SharedUser>;
|
|
||||||
muted: boolean;
|
muted: boolean;
|
||||||
type: ChanType;
|
type: ChanType;
|
||||||
state: ChanState;
|
state: ChanState;
|
||||||
|
|
|
@ -6,7 +6,6 @@ export type SharedPrefixObject = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export type SharedNetworkChan = SharedChan & {
|
export type SharedNetworkChan = SharedChan & {
|
||||||
users: []; // TODO: this thing appears useless
|
|
||||||
totalMessages: number;
|
totalMessages: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue