Direct Message: manage encrypted DM in case of invite by email

- Don’t allow to invite more than one contact by email
- The DM will be created by enabling the encryption when the HS promotes the encryption
- The chat composer is disabled until a matrix account is created by using the invited email
This commit is contained in:
Nicolas Mauri
2023-02-21 12:23:34 +01:00
parent b26d594345
commit 71281ce1cc
10 changed files with 339 additions and 17 deletions
+2
View File
@@ -125,6 +125,8 @@ extern NSTimeInterval const kResizeComposerAnimationDuration;
@property (nonatomic, strong, nullable) ComposerLinkActionBridgePresenter *composerLinkActionBridgePresenter;
@property (weak, nonatomic, nullable) UIViewController *waitingOtherParticipantViewController;
@property (nonatomic) BOOL isWaitingForOtherParticipants;
/**
Retrieve the live data source in cases where the timeline is not live.