mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add message sending methods to the TimelineController that will automatically use the correct timeline proxy instance internally.
This commit is contained in:
committed by
Stefan Ceriu
parent
a4c0b7f91c
commit
35195abc35
@@ -179,7 +179,7 @@ class VoiceMessageRecorder: VoiceMessageRecorderProtocol {
|
||||
|
||||
let result = await timelineController.sendVoiceMessage(url: oggFile,
|
||||
audioInfo: audioInfo,
|
||||
waveform: waveform)
|
||||
waveform: waveform) { _ in }
|
||||
|
||||
if case .failure(let error) = result {
|
||||
MXLog.error("Failed to send the voice message. \(error)")
|
||||
|
||||
Reference in New Issue
Block a user