mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
service/appservice: fix weird indirection through global services
This commit is contained in:
parent
ad7a5ea777
commit
4aab4c9b2e
1 changed files with 1 additions and 3 deletions
|
|
@ -138,9 +138,7 @@ impl Service {
|
||||||
/// Registers an appservice and returns the ID to the caller.
|
/// Registers an appservice and returns the ID to the caller.
|
||||||
pub(crate) async fn register_appservice(&self, yaml: Registration) -> Result<String> {
|
pub(crate) async fn register_appservice(&self, yaml: Registration) -> Result<String> {
|
||||||
//TODO: Check for collisions between exclusive appservice namespaces
|
//TODO: Check for collisions between exclusive appservice namespaces
|
||||||
services()
|
self.registration_info
|
||||||
.appservice
|
|
||||||
.registration_info
|
|
||||||
.write()
|
.write()
|
||||||
.await
|
.await
|
||||||
.insert(yaml.id.clone(), yaml.clone().try_into()?);
|
.insert(yaml.id.clone(), yaml.clone().try_into()?);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue