mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Transition voice messages to the new in thread sending mechanism
This commit is contained in:
committed by
Stefan Ceriu
parent
ed98f64a35
commit
3fcbc8c60a
@@ -362,9 +362,8 @@ class TimelineInteractionHandler {
|
||||
|
||||
actionsSubject.send(.composer(action: .setMode(mode: .previewVoiceMessage(state: audioPlayerState, waveform: .url(recordingURL), isUploading: true))))
|
||||
await voiceMessageRecorder.stopPlayback()
|
||||
switch await voiceMessageRecorder.sendVoiceMessage(inRoom: roomProxy,
|
||||
audioConverter: AudioConverter(),
|
||||
threadRootEventID: timelineController.timelineKind.threadRootEventID) {
|
||||
|
||||
switch await voiceMessageRecorder.sendVoiceMessage(timelineController: timelineController, audioConverter: AudioConverter()) {
|
||||
case .success:
|
||||
await deleteCurrentVoiceMessage()
|
||||
case .failure(let error):
|
||||
|
||||
Reference in New Issue
Block a user