mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 00:49:44 +00:00
Revert "Support sending gallery messages behind a feature flag"
This reverts commit 6a2ed331fa.
This commit is contained in:
@@ -162,17 +162,6 @@ struct TimelineControllerMockConfiguration {
|
||||
return .success(())
|
||||
}
|
||||
|
||||
sendGalleryItemInfosCaptionFormattedCaptionInReplyToEventIDClosure = { [weak self, timelineProxy] itemInfos, caption, formattedCaption, inReplyToEventID in
|
||||
self?.callbacks.send(.messageSentOrEdited)
|
||||
if let timelineProxy {
|
||||
return await timelineProxy.sendGallery(itemInfos: itemInfos,
|
||||
caption: caption,
|
||||
formattedCaption: formattedCaption,
|
||||
inReplyToEventID: inReplyToEventID).mapError(TimelineControllerError.timelineProxyError)
|
||||
}
|
||||
return .success(())
|
||||
}
|
||||
|
||||
sendVoiceMessageUrlAudioInfoWaveformRequestHandleClosure = { [weak self, timelineProxy] url, audioInfo, waveform, requestHandle in
|
||||
self?.callbacks.send(.messageSentOrEdited)
|
||||
if let timelineProxy {
|
||||
|
||||
Reference in New Issue
Block a user