mastodon-ios/MastodonSDK/Sources/MastodonUI/Protocol/StatusCompatible.swift

15 lines
356 B
Swift
Raw Normal View History

// Copyright © 2023 Mastodon gGmbH. All rights reserved.
import Foundation
import CoreDataStack
2023-11-22 12:32:04 +01:00
import MastodonSDK
public protocol StatusCompatible {
var reblog: Status? { get }
var attachments: [MastodonAttachment] { get }
var isMediaSensitive: Bool { get }
var isSensitiveToggled: Bool { get }
}
extension Status: StatusCompatible {}