de-global services() from api
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user