Skip to content

Commit

Permalink
Reorder some properties.
Browse files Browse the repository at this point in the history
No code changes.
  • Loading branch information
pixlwave committed Jul 29, 2024
1 parent 0fab3a8 commit 9ec91c4
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ extension EventBasedTimelineItemProtocol {
var isRemoteMessage: Bool {
id.eventID != nil
}

var hasFailedToSend: Bool {
properties.deliveryStatus == .sendingFailed
var isRedacted: Bool {
self is RedactedRoomTimelineItem
}

var pollIfAvailable: Poll? {
(self as? PollRoomTimelineItem)?.poll
}

var isRedacted: Bool {
self is RedactedRoomTimelineItem
var hasFailedToSend: Bool {
properties.deliveryStatus == .sendingFailed
}

var hasFailedDecryption: Bool {
Expand Down

0 comments on commit 9ec91c4

Please sign in to comment.