forked from MirrorHub/synapse
Start implementing ApplicationServiceTransactionStore
This commit is contained in:
parent
34ce2ca62f
commit
406d32f8b5
1 changed files with 5 additions and 1 deletions
|
@ -374,7 +374,11 @@ class ApplicationServiceTransactionStore(SQLBaseStore):
|
||||||
Returns:
|
Returns:
|
||||||
A Deferred which resolves to True if the state was set successfully.
|
A Deferred which resolves to True if the state was set successfully.
|
||||||
"""
|
"""
|
||||||
pass
|
return self._simple_upsert(
|
||||||
|
"application_services_state",
|
||||||
|
dict(as_id=service.id),
|
||||||
|
dict(state=state)
|
||||||
|
)
|
||||||
|
|
||||||
def create_appservice_txn(self, service, events):
|
def create_appservice_txn(self, service, events):
|
||||||
"""Atomically creates a new transaction for this application service
|
"""Atomically creates a new transaction for this application service
|
||||||
|
|
Loading…
Reference in a new issue