* Use a Date for the timestamp in all timeline items. * UI test snapshots. * Update snapshots --------- Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
26 lines
571 B
Swift
26 lines
571 B
Swift
//
|
|
// Copyright 2023, 2024 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
// Please see LICENSE in the repository root for full details.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
struct StickerRoomTimelineItem: EventBasedTimelineItemProtocol, Equatable {
|
|
let id: TimelineItemIdentifier
|
|
let body: String
|
|
let timestamp: Date
|
|
let isOutgoing: Bool
|
|
let isEditable: Bool
|
|
let canBeRepliedTo: Bool
|
|
|
|
let sender: TimelineItemSender
|
|
|
|
let imageInfo: ImageInfoProxy
|
|
|
|
var blurhash: String?
|
|
|
|
var properties = RoomTimelineItemProperties()
|
|
}
|