mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
clean up coding style a bit
This commit is contained in:
parent
8b8beba194
commit
3c7857e49b
8 changed files with 26 additions and 26 deletions
|
@ -61,8 +61,6 @@ class BaseHandler(object):
|
|||
def _create_new_client_event(self, builder):
|
||||
yield run_on_reactor()
|
||||
|
||||
context = EventContext()
|
||||
|
||||
latest_ret = yield self.store.get_latest_events_in_room(
|
||||
builder.room_id,
|
||||
)
|
||||
|
@ -78,6 +76,8 @@ class BaseHandler(object):
|
|||
builder.depth = depth
|
||||
|
||||
state_handler = self.state_handler
|
||||
|
||||
context = EventContext()
|
||||
ret = yield state_handler.annotate_context_with_state(
|
||||
builder,
|
||||
context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue