refactor: The update checker has become the announcements checker
Replaces June's endpoint with a continuwuity endpoint. Adds a JSON schema. Closes #89 Closes #760
This commit is contained in:
parent
5486dbda24
commit
2d9bdc0979
12 changed files with 238 additions and 166 deletions
|
@ -127,7 +127,9 @@ impl Service {
|
|||
&self.server.config.new_user_displayname_suffix
|
||||
}
|
||||
|
||||
pub fn allow_check_for_updates(&self) -> bool { self.server.config.allow_check_for_updates }
|
||||
pub fn allow_announcements_check(&self) -> bool {
|
||||
self.server.config.allow_announcements_check
|
||||
}
|
||||
|
||||
pub fn trusted_servers(&self) -> &[OwnedServerName] { &self.server.config.trusted_servers }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue