1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-06 17:40:59 +00:00

Preview URLs

Closes: #14
This commit is contained in:
Reiner Herrmann 2023-07-28 17:53:15 +02:00
parent dc0fa09a57
commit bb4cade9fd
12 changed files with 460 additions and 3 deletions

View file

@ -324,6 +324,10 @@ impl Service {
self.config.allow_federation
}
pub fn allow_url_preview(&self) -> bool {
self.config.allow_url_preview
}
pub fn allow_room_creation(&self) -> bool {
self.config.allow_room_creation
}