|
|
@ -111,6 +111,7 @@ class ApplicationServiceStore(SQLBaseStore): |
|
|
|
self.cache = ApplicationServiceCache() |
|
|
|
self.cache = ApplicationServiceCache() |
|
|
|
self._populate_cache() |
|
|
|
self._populate_cache() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@defer.inlineCallbacks |
|
|
|
def unregister_app_service(self, token): |
|
|
|
def unregister_app_service(self, token): |
|
|
|
"""Unregisters this service. |
|
|
|
"""Unregisters this service. |
|
|
|
|
|
|
|
|
|
|
@ -150,6 +151,7 @@ class ApplicationServiceStore(SQLBaseStore): |
|
|
|
) |
|
|
|
) |
|
|
|
return True |
|
|
|
return True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@defer.inlineCallbacks |
|
|
|
def update_app_service(self, service): |
|
|
|
def update_app_service(self, service): |
|
|
|
"""Update an application service, clobbering what was previously there. |
|
|
|
"""Update an application service, clobbering what was previously there. |
|
|
|
|
|
|
|
|
|
|
|