chore: Follow up deduplicate events

pull/1146/head
Krille 1 year ago
parent fe4e2b9418
commit 9358ef2f40
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -70,6 +70,16 @@ class ChatSearchController extends State<ChatSearchPage>
result.$2,
),
)
// Deduplication workaround for
// https://github.com/famedly/matrix-dart-sdk/issues/1831
.map(
(result) => (
<String, Event>{
for (final event in result.$1) event.eventId: event,
}.values.toList(),
result.$2,
),
)
.asBroadcastStream();
});
}

Loading…
Cancel
Save