Open source video conferencing app powered by LiveKit. Built with Django and React.
🐛(frontend) prevent Crisp crash when superuser has no email
lebaudantoine26d668b47884
diff --git a/src/frontend/src/features/support/hooks/useSupport.tsx b/src/frontend/src/features/support/hooks/useSupport.tsxindex c7c84278..211d6767 100644--- a/src/frontend/src/features/support/hooks/useSupport.tsx+++ b/src/frontend/src/features/support/hooks/useSupport.tsx@@ -7,7 +7,7 @@ export const initializeSupportSession = (user: ApiUser) => {if (!Crisp.isCrispInjected()) returnconst { id, email } = userCrisp.setTokenId(`meet-${id}`)- Crisp.user.setEmail(email)+ if (email) Crisp.user.setEmail(email)}export const terminateSupportSession = () => {