mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
• Linked up quote clearing • Removed the duplicate link preview loading and UI from the MediaMessageView (just use the input UI now) • Cleaned up how the InputView input types is handled a bit • Fixed an issue where link previews weren't rendering in the share extension
16 lines
352 B
Swift
16 lines
352 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public enum LinkPreviewError: Int, Error {
|
|
case invalidInput
|
|
case noPreview
|
|
case assertionFailure
|
|
case couldNotDownload
|
|
case featureDisabled
|
|
case invalidContent
|
|
case invalidMediaContent
|
|
case attachmentFailedToSave
|
|
case insecureLink
|
|
}
|