Moves AudioCapture into react

This commit is contained in:
Josh Perez 2021-09-29 16:23:06 -04:00 committed by GitHub
parent c170d04ffa
commit 603c315c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 1012 additions and 492 deletions

View file

@ -1013,6 +1013,10 @@ export async function startApp(): Promise<void> {
actionCreators.audioPlayer,
store.dispatch
),
audioRecorder: bindActionCreators(
actionCreators.audioRecorder,
store.dispatch
),
calling: bindActionCreators(actionCreators.calling, store.dispatch),
composer: bindActionCreators(actionCreators.composer, store.dispatch),
conversations: bindActionCreators(
@ -1407,18 +1411,7 @@ export async function startApp(): Promise<void> {
// Open sticker picker - handled by component
// Begin recording voice note
if (
conversation &&
commandOrCtrl &&
shiftKey &&
(key === 'v' || key === 'V')
) {
conversation.trigger('begin-recording');
event.preventDefault();
event.stopPropagation();
return;
}
// Begin recording voice note - handled by component
// Archive or unarchive conversation
if (