mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Merge branch 'develop' into feature/fga/timeline-multi-forward
This commit is contained in:
+5
-2
@@ -46,10 +46,13 @@ class RustTimelineEventFilterFactory : TimelineEventFilterFactory {
|
||||
} else {
|
||||
emptyList()
|
||||
}
|
||||
|
||||
// Exclude any custom state events not supported by the SDK
|
||||
val customStateEventsFilter = listOf(TimelineEventCondition.AnyCustomStateEvent)
|
||||
return if (excludedEventTypes.isNotEmpty() || excludedMembershipChanges.isNotEmpty()) {
|
||||
TimelineEventFilter.Exclude(excludedEventTypes + excludedMembershipChanges)
|
||||
TimelineEventFilter.Exclude(customStateEventsFilter + excludedEventTypes + excludedMembershipChanges)
|
||||
} else {
|
||||
null
|
||||
TimelineEventFilter.Exclude(customStateEventsFilter)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -245,6 +245,7 @@ class RustSessionVerificationService(
|
||||
|
||||
fun destroy() {
|
||||
Timber.d("Destroying RustSessionVerificationService")
|
||||
listener = null
|
||||
verificationStateListenerTaskHandle.cancelAndDestroy()
|
||||
recoveryStateListenerTaskHandle.cancelAndDestroy()
|
||||
if (this::verificationController.isInitialized) {
|
||||
|
||||
Reference in New Issue
Block a user