Filter more call events from timeline in e2e rooms

This commit is contained in:
Benoit Marty 2021-02-09 12:52:14 +01:00
parent b77c10d3fb
commit 70513b279b
1 changed files with 4 additions and 1 deletions

View File

@ -86,7 +86,10 @@ class TimelineItemFactory @Inject constructor(private val messageItemFactory: Me
EventType.KEY_VERIFICATION_KEY, EventType.KEY_VERIFICATION_KEY,
EventType.KEY_VERIFICATION_READY, EventType.KEY_VERIFICATION_READY,
EventType.KEY_VERIFICATION_MAC, EventType.KEY_VERIFICATION_MAC,
EventType.CALL_CANDIDATES -> { EventType.CALL_CANDIDATES,
EventType.CALL_REPLACES,
EventType.CALL_SELECT_ANSWER,
EventType.CALL_NEGOTIATE -> {
// TODO These are not filtered out by timeline when encrypted // TODO These are not filtered out by timeline when encrypted
// For now manually ignore // For now manually ignore
if (userPreferencesProvider.shouldShowHiddenEvents()) { if (userPreferencesProvider.shouldShowHiddenEvents()) {