mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Revert "Support sending gallery messages behind a feature flag"
This reverts commit 6a2ed331fa.
This commit is contained in:
@@ -402,16 +402,6 @@ class TimelineController: TimelineControllerProtocol {
|
||||
}
|
||||
}
|
||||
|
||||
func sendGallery(itemInfos: [GalleryItemInfo],
|
||||
caption: String?,
|
||||
formattedCaption: String?,
|
||||
inReplyToEventID: String?) async -> Result<Void, TimelineControllerError> {
|
||||
await activeTimeline.sendGallery(itemInfos: itemInfos,
|
||||
caption: caption,
|
||||
formattedCaption: formattedCaption,
|
||||
inReplyToEventID: inReplyToEventID).mapError(TimelineControllerError.timelineProxyError)
|
||||
}
|
||||
|
||||
// MARK: - Polls
|
||||
|
||||
func createPoll(question: String, answers: [String], maxSelections: Int, pollKind: Poll.Kind) async -> Result<Void, TimelineControllerError> {
|
||||
|
||||
Reference in New Issue
Block a user