vector-im/element-ios/issues/5114 - Prevent poll events from ever getting merged into other bubble data.

This commit is contained in:
Stefan Ceriu
2021-12-09 17:44:47 +02:00
committed by Stefan Ceriu
parent 50be76f545
commit 3de1a8525c
2 changed files with 5 additions and 10 deletions
@@ -842,10 +842,15 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
case RoomBubbleCellDataTagRoomCreationIntro:
shouldAddEvent = NO;
break;
case RoomBubbleCellDataTagPoll:
shouldAddEvent = NO;
break;
default:
break;
}
// If the current bubbleData supports adding events then check
// if the incoming event can be added in
if (shouldAddEvent)
{
switch (event.eventType)