2023-01-03 14:09:22 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
extension StatusData {
|
|
|
|
func attachments() -> [AttachmentData] {
|
2023-01-29 19:11:44 +01:00
|
|
|
return self.attachmentsRelation?.sorted(by: <) ?? []
|
2023-01-03 14:09:22 +01:00
|
|
|
}
|
|
|
|
}
|