mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
[Voice Broadcast] Add chunk after decrypting the event. (#7181)
This commit is contained in:
@@ -295,6 +295,14 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
{
|
||||
[self updateBeaconInfoSummaryWithId:eventId andEvent:event];
|
||||
}
|
||||
|
||||
// Handle here the case where an audio chunk of a voice broadcast have been decrypted with delay
|
||||
// We take the opportunity of this update to disable the display of this chunk in the room timeline
|
||||
if (event.eventType == MXEventTypeRoomMessage && event.content[VoiceBroadcastSettings.voiceBroadcastContentKeyChunkType]) {
|
||||
self.tag = RoomBubbleCellDataTagVoiceBroadcastNoDisplay;
|
||||
self.collapsable = NO;
|
||||
self.collapsed = NO;
|
||||
}
|
||||
|
||||
return retVal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user