Disable reply actions for local echoes

This commit is contained in:
Stefan Ceriu
2023-09-19 16:53:01 +03:00
committed by Stefan Ceriu
parent fe656450ef
commit 501c3aed23
2 changed files with 6 additions and 2 deletions
@@ -33,6 +33,10 @@ extension EventBasedTimelineItemProtocol {
var description: String {
"\(String(describing: Self.self)): id: \(id), timestamp: \(timestamp), isOutgoing: \(isOutgoing), properties: \(properties)"
}
var isRemoteMessage: Bool {
id.eventID != nil
}
var hasFailedToSend: Bool {
properties.deliveryStatus == .sendingFailed