fix: all the e2ee problems

This commit is contained in:
Timo Kösters 2022-10-13 10:14:52 +02:00
parent 37eb686b5b
commit ac52b234fa
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
7 changed files with 31 additions and 15 deletions

View file

@ -158,8 +158,6 @@ impl Service {
// Find events that have been added since starting the last request
let new_events = self.db.queued_requests(&outgoing_kind).filter_map(|r| r.ok()).take(30).collect::<Vec<_>>();
// TODO: find edus
if !new_events.is_empty() {
// Insert pdus we found
self.db.mark_as_active(&new_events)?;