Room details: Fix SYIOS-17 - Fudge around flickering during echos

This commit is contained in:
giomfo
2014-12-16 10:23:14 +01:00
parent 9b0f66966d
commit 391b016029
5 changed files with 65 additions and 21 deletions
@@ -32,6 +32,7 @@ NSString *const kFailedEventId = @"failedEventId";
_textMessage = textMessage;
_eventId = event.eventId;
_height = 0;
_hidden = NO;
NSString *senderName = [mxHandler senderDisplayNameForEvent:event withRoomState:roomState];
_startsWithSenderName = ([textMessage hasPrefix:senderName] || [mxHandler isEmote:event]);