0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-30 13:24:03 +01:00
This commit is contained in:
Erik Johnston 2015-05-14 14:45:42 +01:00
parent 386b7330d2
commit f4d58deba1

View file

@ -445,7 +445,6 @@ class EventsStore(SQLBaseStore):
if e_id in event_map and event_map[e_id] if e_id in event_map and event_map[e_id]
]) ])
def _get_events_txn(self, txn, event_ids, check_redacted=True, def _get_events_txn(self, txn, event_ids, check_redacted=True,
get_prev_content=False, allow_rejected=False): get_prev_content=False, allow_rejected=False):
return unwrap_deferred(self._get_events( return unwrap_deferred(self._get_events(
@ -494,7 +493,7 @@ class EventsStore(SQLBaseStore):
return event_map return event_map
def _fetch_events_txn(self, txn, events, check_redacted=True, def _fetch_events_txn(self, txn, events, check_redacted=True,
get_prev_content=False, allow_rejected=False): get_prev_content=False, allow_rejected=False):
return unwrap_deferred(self._fetch_events( return unwrap_deferred(self._fetch_events(
txn, events, txn, events,
check_redacted=check_redacted, check_redacted=check_redacted,