mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41: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.
|
||||
pub(crate) async fn register_appservice(&self, yaml: Registration) -> Result<String> {
|
||||
//TODO: Check for collisions between exclusive appservice namespaces
|
||||
services()
|
||||
.appservice
|
||||
.registration_info
|
||||
self.registration_info
|
||||
.write()
|
||||
.await
|
||||
.insert(yaml.id.clone(), yaml.clone().try_into()?);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue