Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(reactions) Remove auth header if there's no JWT

Robert Pintiliif27cb46f3c94
diff --git a/react/features/reactions/functions.any.js b/react/features/reactions/functions.any.js
index d2a94eb82a..89fad0f366 100644
--- a/react/features/reactions/functions.any.js
+++ b/react/features/reactions/functions.any.js
@@ -60,7 +60,7 @@ export async function sendReactionsWebhook(state: Object, reactions: Array<?stri
const localParticipant = getLocalParticipant(state);
const headers = {
- 'Authorization': `Bearer ${jwt}`,
+ ...jwt ? { 'Authorization': `Bearer ${jwt}` } : {},
'Content-Type': 'application/json'
};