mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Room preview: Use generic data from RoomPreviewData instead of RoomPreviewData.emailInvitation
This commit is contained in:
@@ -22,11 +22,6 @@
|
||||
*/
|
||||
@interface RoomEmailInvitation : NSObject
|
||||
|
||||
/**
|
||||
The room in the invitation.
|
||||
*/
|
||||
@property (nonatomic, readonly) NSString *roomId; // TODO
|
||||
|
||||
/**
|
||||
The invitation parameters.
|
||||
Can be nil.
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
if (self)
|
||||
{
|
||||
_emailInvitation = [[RoomEmailInvitation alloc] initWithParams:emailInvitationParams];
|
||||
|
||||
// Report decoded data
|
||||
_roomName = _emailInvitation.roomName;
|
||||
_roomAvatarUrl = _emailInvitation.roomAvatarUrl;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user