mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Removing dead code part 3 (#2264)
This commit is contained in:
@@ -89,9 +89,7 @@ class EventTimelineItemProxy {
|
||||
}()
|
||||
|
||||
lazy var canBeRepliedTo = item.canBeRepliedTo()
|
||||
|
||||
lazy var isRoomState = content.kind().isRoomState
|
||||
|
||||
|
||||
lazy var content = item.content()
|
||||
|
||||
lazy var isOwn = item.isOwn()
|
||||
@@ -125,17 +123,6 @@ class EventTimelineItemProxy {
|
||||
lazy var readReceipts = item.readReceipts()
|
||||
}
|
||||
|
||||
extension TimelineItemContentKind {
|
||||
var isRoomState: Bool {
|
||||
switch self {
|
||||
case .state, .roomMembership:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct TimelineItemDebugInfo: Identifiable, CustomStringConvertible {
|
||||
let id = UUID()
|
||||
let model: String
|
||||
|
||||
Reference in New Issue
Block a user