improvement: don't send pdus to appservices if it isn't interested

TODO: we need to send pdus if a user of the appservice is in the room
but not the appservice user itself
This commit is contained in:
Timo Kösters 2020-12-23 19:41:54 +01:00
parent fb9bd34696
commit 2cf6fd57b7
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
4 changed files with 97 additions and 4 deletions

View file

@ -28,9 +28,6 @@ use std::{
time::{Duration, SystemTime},
};
pub async fn send_request<T: OutgoingRequest>(
globals: &crate::database::globals::Globals,
destination: Box<ServerName>,