mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-03-30 15:34:43 -04:00
Preview URLs
via upstream PR by Reiner Herrmann: !347 (4b54a8b6) Signed-off-by: rooot <hey@rooot.gay>
This commit is contained in:
parent
e0cdcf66d3
commit
80a233d6b7
13 changed files with 670 additions and 26 deletions
|
|
@ -329,6 +329,10 @@ impl Service<'_> {
|
|||
self.config.allow_device_name_federation
|
||||
}
|
||||
|
||||
pub fn url_preview_allowlist(&self) -> &Vec<String> {
|
||||
&self.config.url_preview_allowlist
|
||||
}
|
||||
|
||||
pub fn allow_room_creation(&self) -> bool {
|
||||
self.config.allow_room_creation
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue