mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Merge pull request #7133 from vector-im/phlpro/voicebroadcast_hide_attachments
Remove the voice broadcast chunks from the attachments list
This commit is contained in:
commit
28f86a91f0
5 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -76,3 +76,4 @@ targets:
|
|||
excludes:
|
||||
- "**/*.md" # excludes all files with the .md extension
|
||||
- path: ../Riot/Modules/Room/TimelineCells/Styles/RoomTimelineStyleIdentifier.swift
|
||||
- path: ../Riot/Modules/VoiceBroadcast/VoiceBroadcastSDK/VoiceBroadcastSettings.swift
|
||||
|
|
|
@ -82,3 +82,4 @@ targets:
|
|||
excludes:
|
||||
- "**/*.md" # excludes all files with the .md extension
|
||||
- path: ../Riot/Modules/Room/TimelineCells/Styles/RoomTimelineStyleIdentifier.swift
|
||||
- path: ../Riot/Modules/VoiceBroadcast/VoiceBroadcastSDK/VoiceBroadcastSettings.swift
|
||||
|
|
|
@ -64,3 +64,4 @@ targets:
|
|||
excludes:
|
||||
- "**/*.md" # excludes all files with the .md extension
|
||||
- path: ../Riot/Modules/Room/TimelineCells/Styles/RoomTimelineStyleIdentifier.swift
|
||||
- path: ../Riot/Modules/VoiceBroadcast/VoiceBroadcastSDK/VoiceBroadcastSettings.swift
|
||||
|
|
1
changelog.d/pr-7133.bugfix
Normal file
1
changelog.d/pr-7133.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Labs: VoiceBroadcast: Remove the voice broadcast chunks from the attachments list
|
Loading…
Reference in a new issue