|
@@ -65,6 +65,12 @@ MiddlewareRegistry.register(store => next => action => {
|
65
|
65
|
* @returns {Object} The value returned by {@code next(action)}.
|
66
|
66
|
*/
|
67
|
67
|
function _endpointMessageReceived({ dispatch, getState }, next, action) {
|
|
68
|
+ if (!(action.json
|
|
69
|
+ && (action.json.type === JSON_TYPE_TRANSCRIPTION_RESULT
|
|
70
|
+ || action.json.type === JSON_TYPE_TRANSLATION_RESULT))) {
|
|
71
|
+ return next(action);
|
|
72
|
+ }
|
|
73
|
+
|
68
|
74
|
const json = action.json;
|
69
|
75
|
const translationLanguage
|
70
|
76
|
= getState()['features/base/conference'].conference
|