mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
Show Matrix RTC calls as unsupported. (#7862)
This commit is contained in:
@@ -142,6 +142,14 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
self.displayTimestampForSelectedComponentOnLeftWhenPossible = NO;
|
||||
break;
|
||||
}
|
||||
case MXEventTypeCallNotify:
|
||||
{
|
||||
self.tag = RoomBubbleCellDataTagRTCCallNotify;
|
||||
self.collapsable = NO;
|
||||
self.collapsed = NO;
|
||||
self.displayTimestampForSelectedComponentOnLeftWhenPossible = NO;
|
||||
break;
|
||||
}
|
||||
case MXEventTypePollStart:
|
||||
case MXEventTypePollEnd:
|
||||
{
|
||||
@@ -374,6 +382,11 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
break;
|
||||
case RoomBubbleCellDataTagVoiceBroadcastNoDisplay:
|
||||
break;
|
||||
case RoomBubbleCellDataTagRTCCallNotify:
|
||||
{
|
||||
hasNoDisplay = NO;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
hasNoDisplay = [super hasNoDisplay];
|
||||
break;
|
||||
@@ -1119,6 +1132,9 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
case RoomBubbleCellDataTagGroupCall:
|
||||
shouldAddEvent = NO;
|
||||
break;
|
||||
case RoomBubbleCellDataTagRTCCallNotify:
|
||||
shouldAddEvent = NO;
|
||||
break;
|
||||
case RoomBubbleCellDataTagRoomCreateConfiguration:
|
||||
shouldAddEvent = NO;
|
||||
break;
|
||||
@@ -1193,6 +1209,9 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
case MXEventTypeCallReject:
|
||||
shouldAddEvent = NO;
|
||||
break;
|
||||
case MXEventTypeCallNotify:
|
||||
shouldAddEvent = NO;
|
||||
break;
|
||||
case MXEventTypePollStart:
|
||||
case MXEventTypePollEnd:
|
||||
shouldAddEvent = NO;
|
||||
|
||||
Reference in New Issue
Block a user