mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-23 21:44:13 +01:00
Add defers in the right places.
This commit is contained in:
parent
1a2de0c5fe
commit
9ff349a3cb
1 changed files with 2 additions and 0 deletions
|
@ -111,6 +111,7 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
self.cache = ApplicationServiceCache()
|
||||
self._populate_cache()
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def unregister_app_service(self, token):
|
||||
"""Unregisters this service.
|
||||
|
||||
|
@ -150,6 +151,7 @@ class ApplicationServiceStore(SQLBaseStore):
|
|||
)
|
||||
return True
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def update_app_service(self, service):
|
||||
"""Update an application service, clobbering what was previously there.
|
||||
|
||||
|
|
Loading…
Reference in a new issue