Owns the one chat modal: it renders it while it is open, and provides ChatContext to the buttons that open it. App mounts it inside the router, around every page.

Functions

f
ChatProvider(unnamed 0: ChatProviderProps): React.JSX.Element

Provides ChatContext and renders the one chat modal while it is open. openChat opens it, and so does a ?chat= query parameter on any page: ?chat=open, or ?chat=<message id> to open on that message, which is where a chat mention notification links. It stays closed for visitors.

Interfaces