mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Periphery cleanup (#5893)
This commit is contained in:
@@ -106,6 +106,7 @@ nonisolated struct RoomEventStringBuilder {
|
||||
shouldPrefixSenderName: false)
|
||||
}
|
||||
|
||||
// periphery:ignore - might be useful to have
|
||||
static func threadListEventStringBuilder(userID: String) -> Self {
|
||||
RoomEventStringBuilder(stateEventStringBuilder: .init(userID: userID),
|
||||
messageEventStringBuilder: .init(attributedStringBuilder: AttributedStringBuilder(cacheKey: "threadList", mentionBuilder: PlainMentionBuilder()),
|
||||
|
||||
@@ -21,13 +21,6 @@ nonisolated struct RoomSummary {
|
||||
default: false
|
||||
}
|
||||
}
|
||||
|
||||
var isKnock: Bool {
|
||||
switch self {
|
||||
case .knock: true
|
||||
default: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
enum LastMessageState { case sending, failed }
|
||||
|
||||
@@ -26,7 +26,6 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
||||
private var roomList: RoomListProtocol?
|
||||
|
||||
private var cancellables = Set<AnyCancellable>()
|
||||
private var roomListServiceStateCancellable: AnyCancellable?
|
||||
private var listUpdatesSubscriptionResult: RoomListEntriesWithDynamicAdaptersResult?
|
||||
private var stateUpdatesTaskHandle: TaskHandle?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user