Crypto threading: Follow changes in the sdk

This commit is contained in:
manuroe
2016-12-14 16:50:10 +01:00
parent 0e521f0337
commit 5691fe8632
3 changed files with 15 additions and 5 deletions
@@ -45,8 +45,7 @@ NSString *const kRoomEncryptedDataBubbleCellTapOnEncryptionIcon = @"kRoomEncrypt
}
else
{
MXRoom *room = [session roomWithRoomId:event.roomId];
MXDeviceInfo *deviceInfo = [room eventDeviceInfo:event];
MXDeviceInfo *deviceInfo = [session.crypto eventDeviceInfo:event];
if (deviceInfo)
{