mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Crash fixes (#337)
* Add diffing logs and be more aggresive about unexpected states * Move diff collection on a serial queue * Handle now optional `addTimelineListener` result * Treat RoomSummaryProvider invalidations separately * Bump RustSDK to v0.0.9-demo
This commit is contained in:
@@ -26,6 +26,7 @@ enum RoomProxyError: Error {
|
||||
case failedRetrievingMemberDisplayName
|
||||
case failedSendingMessage
|
||||
case failedRedactingEvent
|
||||
case failedAddingTimelineListener
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@@ -54,7 +55,7 @@ protocol RoomProxyProtocol {
|
||||
|
||||
func loadDisplayName() async -> Result<String, RoomProxyError>
|
||||
|
||||
func addTimelineListener(listener: TimelineListener)
|
||||
func addTimelineListener(listener: TimelineListener) -> Result<Void, RoomProxyError>
|
||||
|
||||
func paginateBackwards(count: UInt) async -> Result<Void, RoomProxyError>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user