mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Fix a race in room data source initializer, by adding threadId parameter in every case
This commit is contained in:
@@ -68,9 +68,9 @@ const CGFloat kTypingCellHeight = 24;
|
||||
|
||||
@implementation RoomDataSource
|
||||
|
||||
- (instancetype)initWithRoomId:(NSString *)roomId andMatrixSession:(MXSession *)matrixSession
|
||||
- (instancetype)initWithRoomId:(NSString *)roomId andMatrixSession:(MXSession *)matrixSession threadId:(NSString *)threadId
|
||||
{
|
||||
self = [super initWithRoomId:roomId andMatrixSession:matrixSession];
|
||||
self = [super initWithRoomId:roomId andMatrixSession:matrixSession threadId:threadId];
|
||||
if (self)
|
||||
{
|
||||
// Replace default Cell data class
|
||||
|
||||
Reference in New Issue
Block a user