Skip to content

Commit

Permalink
fix(meteor): Message composer keeps recording even though permission …
Browse files Browse the repository at this point in the history
…was denied (RocketChat#29526)
  • Loading branch information
gabriellsh authored Jun 22, 2023
1 parent 9e59265 commit 0fb7d90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-carrots-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

fixed an error on mobile ios browser where if you started recording audio and denied permission, it would look like it is still recording
1 change: 1 addition & 0 deletions apps/meteor/app/ui/client/lib/recorderjs/AudioRecorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class AudioRecorder {
this.destroyStream();
this.destroyAudioContext();
cb?.call(this, false);
throw error;
}
}

Expand Down

0 comments on commit 0fb7d90

Please sign in to comment.