RoomBubbleCellData: fix compilation failure

This commit is contained in:
giomfo 2015-10-21 10:35:20 +02:00
parent 9a2e755ebe
commit aedec3aecc

View file

@ -102,7 +102,7 @@
[super prepareBubbleComponentsPosition];
// Check whether the position of other components need to be refreshed
if (self.dataType != MXKRoomBubbleCellDataTypeText || !savedShouldUpdateComponentsPosition || bubbleComponents.count < 2)
if (self.attachment || !savedShouldUpdateComponentsPosition || bubbleComponents.count < 2)
{
return;
}