mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Various typos and bug fixes.
This commit is contained in:
parent
6630e1b579
commit
d044121168
8 changed files with 80 additions and 80 deletions
|
@ -62,6 +62,8 @@ class BaseHandler(object):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def _create_new_client_event(self, builder):
|
||||
yield run_on_reactor()
|
||||
|
||||
context = EventContext()
|
||||
|
||||
latest_ret = yield self.store.get_latest_events_in_room(
|
||||
|
@ -79,7 +81,7 @@ class BaseHandler(object):
|
|||
builder,
|
||||
context,
|
||||
)
|
||||
group, prev_state = ret
|
||||
prev_state = ret
|
||||
|
||||
if builder.is_state():
|
||||
prev_state = yield self.store.add_event_hashes(
|
||||
|
@ -88,8 +90,6 @@ class BaseHandler(object):
|
|||
|
||||
builder.prev_state = prev_state
|
||||
|
||||
builder.internal_metadata.state_group = group
|
||||
|
||||
yield self.auth.add_auth_events(builder, context)
|
||||
|
||||
add_hashes_and_signatures(
|
||||
|
@ -105,6 +105,8 @@ class BaseHandler(object):
|
|||
@defer.inlineCallbacks
|
||||
def handle_new_client_event(self, event, context, extra_destinations=[],
|
||||
extra_users=[], suppress_auth=False):
|
||||
yield run_on_reactor()
|
||||
|
||||
# We now need to go and hit out to wherever we need to hit out to.
|
||||
|
||||
if not suppress_auth:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue