vector-im/element-ios/issues/5298 - Replaced "msgtype" strings with new kMXMessageTypeKey.

This commit is contained in:
Stefan Ceriu
2021-12-13 10:04:30 +02:00
committed by Stefan Ceriu
parent c1a3fede8f
commit 9c66b5b7b1
12 changed files with 19 additions and 21 deletions
@@ -836,7 +836,7 @@ const CGFloat kTypingCellHeight = 24;
break;
case MXEventTypeRoomMessage:
{
NSString *msgType = event.content[@"msgtype"];
NSString *msgType = event.content[kMXMessageTypeKey];
if ([msgType isEqualToString:kMXMessageTypeKeyVerificationRequest])
{