mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(api): move feedbackSubmitted notification to api middleware
This commit is contained in:
committed by
virtuacoplenny
parent
59a9c2d947
commit
a1db63a8c2
@@ -4,6 +4,7 @@ import { CONFERENCE_FAILED } from '../base/conference';
|
||||
import { NOTIFY_CAMERA_ERROR, NOTIFY_MIC_ERROR } from '../base/devices';
|
||||
import { JitsiConferenceErrors } from '../base/lib-jitsi-meet';
|
||||
import { MiddlewareRegistry } from '../base/redux';
|
||||
import { SUBMIT_FEEDBACK } from '../feedback';
|
||||
|
||||
declare var APP: Object;
|
||||
|
||||
@@ -34,6 +35,10 @@ MiddlewareRegistry.register((/* store */) => next => action => {
|
||||
APP.API.notifyOnMicError(action.error.name, action.error.message);
|
||||
}
|
||||
break;
|
||||
|
||||
case SUBMIT_FEEDBACK:
|
||||
APP.API.notifyFeedbackSubmitted();
|
||||
break;
|
||||
}
|
||||
|
||||
return next(action);
|
||||
|
||||
Reference in New Issue
Block a user