This commit is contained in:
Erik Johnston 2015-05-15 16:59:58 +01:00
parent 6c74fd62a0
commit c3b37abdfd
2 changed files with 1 additions and 2 deletions

View file

@ -27,7 +27,6 @@ from twisted.internet import defer
from collections import namedtuple, OrderedDict from collections import namedtuple, OrderedDict
import contextlib
import functools import functools
import sys import sys
import time import time

View file

@ -629,7 +629,7 @@ class EventsStore(SQLBaseStore):
@defer.inlineCallbacks @defer.inlineCallbacks
def _fetch_events(self, txn, events, check_redacted=True, def _fetch_events(self, txn, events, check_redacted=True,
get_prev_content=False, allow_rejected=False): get_prev_content=False, allow_rejected=False):
if not events: if not events:
defer.returnValue({}) defer.returnValue({})