mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Register indpendent service token
This commit is contained in:
@ -154,6 +154,11 @@ impl Config {
|
||||
pub fn server_listen_address(&self) -> String {
|
||||
format!("{}:{}", self.listen_address, self.port)
|
||||
}
|
||||
|
||||
/// Check if independent push notifications service is enabled
|
||||
pub fn is_independent_push_notifications_service_enabled(&self) -> bool {
|
||||
self.independent_push_service.is_some()
|
||||
}
|
||||
}
|
||||
|
||||
/// Get an instance of the configuration
|
||||
|
Reference in New Issue
Block a user