fix(reactions) Remove vpaas check for reactions webhook (#10089)

Reactions will be sent if webhookProxyUrl is set in config.js
This commit is contained in:
robertpin 2021-10-04 12:01:14 +03:00 committed by GitHub
parent 31ce7e010d
commit 3aec980378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -8,7 +8,6 @@ import { MiddlewareRegistry } from '../base/redux';
import { updateSettings } from '../base/settings';
import { playSound, registerSound, unregisterSound } from '../base/sounds';
import { getDisabledSounds } from '../base/sounds/functions.any';
import { isVpaasMeeting } from '../jaas/functions';
import { NOTIFICATION_TIMEOUT, showNotification } from '../notifications';
import {
@ -109,9 +108,7 @@ MiddlewareRegistry.register(store => next => action => {
dispatch(pushReactions(buffer));
});
if (isVpaasMeeting(state)) {
sendReactionsWebhook(state, buffer);
}
sendReactionsWebhook(state, buffer);
break;
}