We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17bc955 commit 25289baCopy full SHA for 25289ba
crates/matrix-sdk/src/event_cache/deduplicator.rs
@@ -91,12 +91,12 @@ impl Deduplicator {
91
});
92
}
93
94
- match self {
95
- Deduplicator::InMemory(dedup) => Ok(dedup.filter_duplicate_events(events, room_events)),
+ Ok(match self {
+ Deduplicator::InMemory(dedup) => dedup.filter_duplicate_events(events, room_events),
96
Deduplicator::PersistentStore(dedup) => {
97
- dedup.filter_duplicate_events(events, room_events).await
+ dedup.filter_duplicate_events(events, room_events).await?
98
99
- }
+ })
100
101
102
0 commit comments