Lightning bolt optional
This commit is contained in:
parent
f430b87459
commit
df8703cc13
5 changed files with 27 additions and 3 deletions
|
@ -245,6 +245,10 @@ impl Service {
|
|||
self.config.default_room_version.clone()
|
||||
}
|
||||
|
||||
pub fn enable_lightning_bolt(&self) -> bool {
|
||||
self.config.enable_lightning_bolt
|
||||
}
|
||||
|
||||
pub fn trusted_servers(&self) -> &[OwnedServerName] {
|
||||
&self.config.trusted_servers
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue