MXEvent: Add isLocalEvent property.

This commit is contained in:
manuroe
2017-01-19 18:12:30 +01:00
parent aaa0e938d9
commit b33beebc9e
@@ -28,7 +28,7 @@ NSString *const kRoomEncryptedDataBubbleCellTapOnEncryptionIcon = @"kRoomEncrypt
{
encryptionIcon = @"e2e_unencrypted";
if ([event.eventId hasPrefix:kMXRoomLocalEventIdPrefix])
if (event.isLocalEvent)
{
// Patch: Display the verified icon by default on pending outgoing messages in the encrypted rooms when the encryption is enabled
MXRoom *room = [session roomWithRoomId:event.roomId];