mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
vector-im/element-ios/issues/5114 - Prevent poll events from ever getting merged into other bubble data.
This commit is contained in:
committed by
Stefan Ceriu
parent
50be76f545
commit
3de1a8525c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user