This commit is contained in:
Erik Johnston 2015-05-14 14:45:42 +01:00
parent 386b7330d2
commit f4d58deba1
1 changed files with 1 additions and 2 deletions

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,