mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Fixes vector-im/element-ios/issues/6241 - Prevent random crashes when tapping links. Avoid displaying the confirmation alert for plain text ones.
This commit is contained in:
committed by
Stefan Ceriu
parent
55d6519436
commit
4c9eb5138f
@@ -1077,6 +1077,12 @@ static BOOL _disableLongPressGestureOnEvent;
|
||||
|
||||
NSArray *bubbleComponents = bubbleData.bubbleComponents;
|
||||
|
||||
if (bubbleComponents.count == 1) {
|
||||
return bubbleComponents.firstObject;
|
||||
}
|
||||
|
||||
// The position check below fails for bubble data with a single component when message
|
||||
// bubbles are enabled, thus the early bailout above
|
||||
for (MXKRoomBubbleComponent *component in bubbleComponents)
|
||||
{
|
||||
// Ignore components without display (For example redacted event or state events)
|
||||
|
||||
Reference in New Issue
Block a user