Start DM on first message (#6367)

Start DM on first message

Co-authored-by: Philippe Loriaux <philippel@element.io>
This commit is contained in:
Yoan Pintas
2022-09-06 14:33:32 +02:00
committed by GitHub
parent c94d019d95
commit 8ea45ad0ce
20 changed files with 603 additions and 136 deletions
+13
View File
@@ -127,6 +127,19 @@ extern NSNotificationName const RoomGroupCallTileTappedNotification;
*/
- (void)displayRoomPreview:(RoomPreviewData*)roomPreviewData;
/**
Display a new discussion with a target user without associated room.
@param directChatTargetUser Direct chat target user.
@param session The Matrix session.
*/
- (void)displayNewDirectChatWithTargetUser:(nonnull MXUser*)directChatTargetUser session:(nonnull MXSession*)session;
/**
Pop to home view controller
*/
- (void)popToHomeViewController;
/**
If `YES`, the room settings screen will be initially displayed. Default `NO`
*/