From 08a33264311f9791716ce0c2ff3d7d2feeddc852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6sters?= Date: Tue, 20 Jul 2021 21:18:37 +0200 Subject: [PATCH] docs: Initial end-to-end encryption over federation support --- README.md | 4 ++-- src/database/sending.rs | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e856dd5a..fde762ca 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ are not aware of such a bug today, but we would like to do more testing. There are still a few important features missing: - Database stability (currently you might have to do manual upgrades or even wipe the db for new versions) -- End-to-end encrypted chats over federation -- Typing, presence, read receipts etc. over federation +- Edge cases for end-to-end encryption over federation +- Typing and presence over federation - Lots of testing Check out the [Conduit 1.0 Release Milestone](https://gitlab.com/famedly/conduit/-/milestones/3). diff --git a/src/database/sending.rs b/src/database/sending.rs index 8dfcbee4..44d19ed2 100644 --- a/src/database/sending.rs +++ b/src/database/sending.rs @@ -291,12 +291,6 @@ impl Sending { if let OutgoingKind::Normal(server_name) = outgoing_kind { if let Ok((select_edus, last_count)) = Self::select_edus(db, server_name) { - for edu in &select_edus { - let mut full_key = vec![b'*']; - full_key.extend_from_slice(&edu); - db.sending.servercurrentevents.insert(&full_key, &[])?; - } - events.extend(select_edus.into_iter().map(SendingEventType::Edu)); db.sending