Room preview of room link: made join work

This commit is contained in:
manuroe
2016-04-15 14:25:57 +02:00
parent 21ee7b6454
commit 2d95b4bb23
+2 -2
View File
@@ -1430,10 +1430,10 @@
}
else if (view == previewHeader.leftButton)
{
if (roomPreviewData.emailInvitation)
if (roomPreviewData)
{
// Attempt to join the room
// TODO: link without invitation params
// Note in case of simple link to a room the signUrl param is nil
[self joinRoomWithRoomId:roomPreviewData.roomId andSignUrl:roomPreviewData.emailInvitation.signUrl completion:^(BOOL succeed) {
if (succeed)