More accurately hide/show and track chat state

This commit is contained in:
Gabe Kangas
2022-05-13 14:44:16 -07:00
parent 4b2742739a
commit e0f8a1f702
9 changed files with 67 additions and 56 deletions

View File

@@ -13,10 +13,10 @@ export enum ChatVisibilityState {
}
export enum ChatState {
Available, // Normal state. Chat can be visible and used.
NotAvailable, // Chat features are not available.
Loading, // Chat is connecting and loading history.
Offline, // Chat is offline/disconnected for some reason but is visible.
Available = 'Available', // Normal state. Chat can be visible and used.
NotAvailable = 'NotAvailable', // Chat features are not available.
Loading = 'Loading', // Chat is connecting and loading history.
Offline = 'Offline', // Chat is offline/disconnected for some reason but is visible.
}
export enum VideoState {