mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 08:11:24 +01:00
Move TURN config to separate config section
This renames: turn_username -> turn.username turn_password -> turn.password turn_uris -> turn.uris turn_secret -> turn.secret turn_ttl -> turn.ttl
This commit is contained in:
parent
e911518aac
commit
79d5d306cc
2 changed files with 28 additions and 18 deletions
|
|
@ -366,23 +366,23 @@ impl Service {
|
|||
}
|
||||
|
||||
pub(crate) fn turn_password(&self) -> &String {
|
||||
&self.config.turn_password
|
||||
&self.config.turn.password
|
||||
}
|
||||
|
||||
pub(crate) fn turn_ttl(&self) -> u64 {
|
||||
self.config.turn_ttl
|
||||
self.config.turn.ttl
|
||||
}
|
||||
|
||||
pub(crate) fn turn_uris(&self) -> &[String] {
|
||||
&self.config.turn_uris
|
||||
&self.config.turn.uris
|
||||
}
|
||||
|
||||
pub(crate) fn turn_username(&self) -> &String {
|
||||
&self.config.turn_username
|
||||
&self.config.turn.username
|
||||
}
|
||||
|
||||
pub(crate) fn turn_secret(&self) -> &String {
|
||||
&self.config.turn_secret
|
||||
&self.config.turn.secret
|
||||
}
|
||||
|
||||
pub(crate) fn emergency_password(&self) -> &Option<String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue