mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-02 19:49:23 +00:00
Expose confManager global
This commit is contained in:
@@ -103,6 +103,14 @@ export function useConferenceCallManager(homeserverUrl) {
|
|||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
window.confManager = manager;
|
||||||
|
|
||||||
|
return () => {
|
||||||
|
window.confManager = undefined;
|
||||||
|
};
|
||||||
|
}, [manager]);
|
||||||
|
|
||||||
return { loading, authenticated, manager, error, login, register };
|
return { loading, authenticated, manager, error, login, register };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user