MESSENGER-5575 ACL status event handling in the timeline

This commit is contained in:
Frank Rotermund
2024-03-01 07:25:42 +01:00
parent d07f992659
commit 2867bae23e
16 changed files with 162 additions and 33 deletions
+3 -2
View File
@@ -3300,6 +3300,7 @@ static CGSize kThreadListBarButtonItemImageSize;
{
cellIdentifier = bubbleData.isPaginationFirstBubble ? RoomTimelineCellIdentifierKeyVerificationConclusionWithPaginationTitle : RoomTimelineCellIdentifierKeyVerificationConclusion;
}
// bwi #5575 provide correct cell for ACL status messages -> Same as Membership cells
else if (bubbleData.tag == RoomBubbleCellDataTagMembership || bubbleData.tag == RoomBubbleCellDataTagACL)
{
if (bubbleData.collapsed)
@@ -3319,11 +3320,11 @@ static CGSize kThreadListBarButtonItemImageSize;
// The cell (and its series) is not collapsed but this cell is the first
// of the series. So, use the cell with the "collapse" button.
cellIdentifier = bubbleData.isPaginationFirstBubble ? RoomTimelineCellIdentifierMembershipExpandedWithPaginationTitle : RoomTimelineCellIdentifierMembershipExpanded;
}
}
else
{
cellIdentifier = bubbleData.isPaginationFirstBubble ? RoomTimelineCellIdentifierMembershipWithPaginationTitle : RoomTimelineCellIdentifierMembership;
}
}
}
else if (bubbleData.tag == RoomBubbleCellDataTagRoomCreateConfiguration || bubbleData.tag == RoomBubbleCellDataTagRoomConfiguration)
{