mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Remove the voice broadcast chunks from the attachments list
This commit is contained in:
@@ -1373,6 +1373,11 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
|
||||
// ignore the event
|
||||
return NO;
|
||||
}
|
||||
|
||||
// Ignore voice message related to an actual voice broadcast.
|
||||
if (event.content[VoiceBroadcastSettings.voiceBroadcastContentKeyChunkType] != nil) {
|
||||
return NO;
|
||||
}
|
||||
}
|
||||
|
||||
// Check for undecryptable messages that were sent while the user was not in the room and hide them
|
||||
|
||||
Reference in New Issue
Block a user