refactor appservice type stuff

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
Matthias Ahouansou authored and June committed 2024-03-23 01:49:27 -04:00
1 parent 7c9c5b1d78
commit 60f2471f59
11 files changed
+125 -133

No files matched your search

+1 -4
View File
@@ -55,10 +55,7 @@ impl Services<'_> {
db: &'static D, config: Config,
) -> Result<Self> {
Ok(Self {
appservice: appservice::Service {
db,
registration_info: RwLock::new(HashMap::new()),
},
appservice: appservice::Service::build(db)?,
pusher: pusher::Service {
db,
},