Start implementing ApplicationServiceTransactionStore
This commit is contained in:
parent
34ce2ca62f
commit
406d32f8b5
|
@ -374,7 +374,11 @@ class ApplicationServiceTransactionStore(SQLBaseStore):
|
|||
Returns:
|
||||
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):
|
||||
"""Atomically creates a new transaction for this application service
|
||||
|
|
Loading…
Reference in New Issue