refactor presence to not involve rooms.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
885224ab76
commit
ca1c77d76b
11 changed files with 263 additions and 281 deletions
|
@ -31,7 +31,7 @@ pub struct Services<'a> {
|
|||
pub uiaa: uiaa::Service,
|
||||
pub users: users::Service,
|
||||
pub account_data: account_data::Service,
|
||||
pub presence: presence::Service,
|
||||
pub presence: Arc<presence::Service>,
|
||||
pub admin: Arc<admin::Service>,
|
||||
pub globals: globals::Service<'a>,
|
||||
pub key_backups: key_backups::Service,
|
||||
|
@ -155,9 +155,7 @@ impl Services<'_> {
|
|||
account_data: account_data::Service {
|
||||
db,
|
||||
},
|
||||
presence: presence::Service {
|
||||
db,
|
||||
},
|
||||
presence: presence::Service::build(db, config),
|
||||
admin: admin::Service::build(),
|
||||
key_backups: key_backups::Service {
|
||||
db,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue