mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Incorporate review
This commit is contained in:
parent
a29420f9f4
commit
a820069549
@ -941,7 +941,7 @@ class RoomContextHandler(object):
|
|||||||
if event_filter:
|
if event_filter:
|
||||||
state_events = event_filter.filter(state_events)
|
state_events = event_filter.filter(state_events)
|
||||||
|
|
||||||
results["state"] = state_events
|
results["state"] = yield filter_evts(state_events)
|
||||||
|
|
||||||
# We use a dummy token here as we only care about the room portion of
|
# We use a dummy token here as we only care about the room portion of
|
||||||
# the token, which we replace.
|
# the token, which we replace.
|
||||||
|
@ -1609,11 +1609,6 @@ class ContextTestCase(unittest.HomeserverTestCase):
|
|||||||
account.register_servlets,
|
account.register_servlets,
|
||||||
]
|
]
|
||||||
|
|
||||||
def make_homeserver(self, reactor, clock):
|
|
||||||
self.hs = self.setup_test_homeserver()
|
|
||||||
|
|
||||||
return self.hs
|
|
||||||
|
|
||||||
def prepare(self, reactor, clock, homeserver):
|
def prepare(self, reactor, clock, homeserver):
|
||||||
self.user_id = self.register_user("user", "password")
|
self.user_id = self.register_user("user", "password")
|
||||||
self.tok = self.login("user", "password")
|
self.tok = self.login("user", "password")
|
||||||
|
Loading…
Reference in New Issue
Block a user