Room preview of email invitation: Replaced [RoomVC displayEmailInvitation] by [RoomVC displayRoomPreview], a more generic function that handles email invitation and simple link to a room

Connected AppDelegate to this method
This commit is contained in:
manuroe
2016-04-15 09:43:56 +02:00
parent 97a674ca4d
commit 0e224ec968
10 changed files with 215 additions and 48 deletions
+7 -5
View File
@@ -18,7 +18,7 @@
#import "RoomTitleView.h"
#import "RoomEmailInvitation.h"
#import "RoomPreviewData.h"
#import "UIViewController+VectorSearch.h"
@@ -39,11 +39,13 @@
- (void)showExpandedHeader:(BOOL)isVisible;
/**
Display an invitation preview.
@param emailInvitation the invitation received by email.
Display the preview of a room that is unknown for the user.
This room can come from an email invitation link or a simple link to a room.
@param roomPreviewData the data for the room preview.
*/
- (void)displayEmailInvitation:(RoomEmailInvitation*)emailInvitation;
- (void)displayRoomPreview:(RoomPreviewData*)previewData;
@end