de-global services() from api
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
463f1a1287
commit
8b6018d77d
61 changed files with 1485 additions and 1320 deletions
|
@ -176,6 +176,7 @@ impl Service {
|
|||
self.db.watch(user_id, device_id).await
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn server_name(&self) -> &ServerName { self.config.server_name.as_ref() }
|
||||
|
||||
pub fn max_fetch_prev_events(&self) -> u16 { self.config.max_fetch_prev_events }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue