move remote media fetchers into services
minor error simplification Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
c3f00f4d15
commit
54e6a41404
4 changed files with 178 additions and 179 deletions
|
@ -248,8 +248,6 @@ impl Service {
|
|||
|
||||
pub fn allow_outgoing_read_receipts(&self) -> bool { self.config.allow_outgoing_read_receipts }
|
||||
|
||||
pub fn prevent_media_downloads_from(&self) -> &[OwnedServerName] { &self.config.prevent_media_downloads_from }
|
||||
|
||||
pub fn forbidden_remote_room_directory_server_names(&self) -> &[OwnedServerName] {
|
||||
&self.config.forbidden_remote_room_directory_server_names
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue