diff --git a/src/voice/VoiceRecording.ts b/src/voice/VoiceRecording.ts index 0304a297ef..2243d49873 100644 --- a/src/voice/VoiceRecording.ts +++ b/src/voice/VoiceRecording.ts @@ -373,7 +373,7 @@ export class VoiceRecording extends EventEmitter implements IDestroyable { const { url: mxc, file: encrypted } = await uploadFile(this.client, inRoomId, new Blob([this.audioBuffer], { type: this.contentType, })); - this.lastUpload = {mxc, encrypted}; + this.lastUpload = { mxc, encrypted }; this.emit(RecordingState.Uploaded); return this.lastUpload; }