mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
RoomBubbleCellData: Handle key verification cells. Add key verification property and add key verification cell data tags.
This commit is contained in:
@@ -22,9 +22,10 @@ typedef NS_ENUM(NSInteger, RoomBubbleCellDataTag)
|
||||
RoomBubbleCellDataTagMessage = 0, // Default value used for messages
|
||||
RoomBubbleCellDataTagMembership,
|
||||
RoomBubbleCellDataTagRoomCreateWithPredecessor,
|
||||
RoomBubbleCellDataTagDeviceKeyVerificationRequestIncomingApproval,
|
||||
RoomBubbleCellDataTagDeviceKeyVerificationRequest,
|
||||
RoomBubbleCellDataTagDeviceKeyVerificationConclusion
|
||||
RoomBubbleCellDataTagKeyVerificationNoDisplay,
|
||||
RoomBubbleCellDataTagKeyVerificationRequestIncomingApproval,
|
||||
RoomBubbleCellDataTagKeyVerificationRequest,
|
||||
RoomBubbleCellDataTagKeyVerificationConclusion
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -73,6 +74,16 @@ typedef NS_ENUM(NSInteger, RoomBubbleCellDataTag)
|
||||
*/
|
||||
@property(nonatomic, readonly) CGFloat additionalContentHeight;
|
||||
|
||||
/**
|
||||
MXKeyVerification object associated to key verifcation event when using key verification by direct message.
|
||||
*/
|
||||
@property(nonatomic, strong) MXKeyVerification *keyVerification;
|
||||
|
||||
/**
|
||||
Indicate if there is a pending operation that updates `keyVerification` property.
|
||||
*/
|
||||
@property(nonatomic) BOOL isKeyVerificationOperationPending;
|
||||
|
||||
/**
|
||||
Indicate to update additional content height.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user