mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-03-29 06:54:38 -04:00
Lightning bolt optional
This commit is contained in:
parent
9ee199b0c3
commit
49bd75b856
5 changed files with 29 additions and 14 deletions
|
|
@ -267,6 +267,10 @@ impl Globals {
|
|||
self.config.default_room_version.clone()
|
||||
}
|
||||
|
||||
pub fn enable_lightning_bolt(&self) -> bool {
|
||||
self.config.enable_lightning_bolt
|
||||
}
|
||||
|
||||
pub fn trusted_servers(&self) -> &[Box<ServerName>] {
|
||||
&self.config.trusted_servers
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue