mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Fix a race in room data source initializer, by adding threadId parameter in every case
This commit is contained in:
@@ -57,7 +57,7 @@ class RecentCellContextMenuProvider: NSObject {
|
||||
}
|
||||
roomViewController.isContextPreview = true
|
||||
|
||||
RoomPreviewDataSource.load(withRoomId: room.roomId, andMatrixSession: session) { [weak roomViewController] roomDataSource in
|
||||
RoomPreviewDataSource.load(withRoomId: room.roomId, threadId: nil, andMatrixSession: session) { [weak roomViewController] roomDataSource in
|
||||
guard let dataSource = roomDataSource as? RoomPreviewDataSource else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user