mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
[RoomBubbleCellData] Update way to put tag `RoomBubbleCellDataTagRoomCreateWithPredecessor
This commit is contained in:
@@ -45,9 +45,14 @@ static NSAttributedString *readReceiptVerticalWhitespace = nil;
|
||||
self.collapsed = YES;
|
||||
}
|
||||
|
||||
if (event.eventType == MXEventTypeRoomCreate && roomState.hasRoomPredecessor)
|
||||
if (event.eventType == MXEventTypeRoomCreate)
|
||||
{
|
||||
self.tag = RoomBubbleCellDataTagRoomCreateWithPredecessor;
|
||||
MXRoomCreateContent *createContent = [MXRoomCreateContent modelFromJSON:event.content];
|
||||
|
||||
if (createContent.roomPredecessorInfo)
|
||||
{
|
||||
self.tag = RoomBubbleCellDataTagRoomCreateWithPredecessor;
|
||||
}
|
||||
}
|
||||
|
||||
// Increase maximum number of components
|
||||
|
||||
Reference in New Issue
Block a user