Update src/voice/VoiceRecording.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
b5bb767b8f
commit
c16228b8ca
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue