mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-03 05:08:59 +01:00
Return the store_id from persist_event
This commit is contained in:
parent
1d95e78759
commit
f54b70520a
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ class DataStore(RoomMemberStore, RoomStore,
|
||||||
if pdu is not None:
|
if pdu is not None:
|
||||||
self._persist_event_pdu_txn(txn, pdu)
|
self._persist_event_pdu_txn(txn, pdu)
|
||||||
if event is not None:
|
if event is not None:
|
||||||
self._persist_event_txn(txn, event, backfilled, stream_ordering)
|
return self._persist_event_txn(
|
||||||
|
txn, event, backfilled, stream_ordering
|
||||||
|
)
|
||||||
|
|
||||||
def _persist_event_pdu_txn(self, txn, pdu):
|
def _persist_event_pdu_txn(self, txn, pdu):
|
||||||
cols = dict(pdu.__dict__)
|
cols = dict(pdu.__dict__)
|
||||||
|
|
Loading…
Reference in a new issue