[🐴] Mod disabled (#4089)
* Handle send failures * Add chat disabled state
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
ConvoParams,
|
||||
ConvoState,
|
||||
ConvoStateBackgrounded,
|
||||
ConvoStateDisabled,
|
||||
ConvoStateReady,
|
||||
ConvoStateSuspended,
|
||||
} from '#/state/messages/convo/types'
|
||||
@@ -40,6 +41,7 @@ export function useConvoActive() {
|
||||
| ConvoStateReady
|
||||
| ConvoStateBackgrounded
|
||||
| ConvoStateSuspended
|
||||
| ConvoStateDisabled
|
||||
if (!ctx) {
|
||||
throw new Error('useConvo must be used within a ConvoProvider')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user