Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Handle the case of missing auth events when joining a room #964
Conversation
erikjohnston
assigned
NegativeMjark
Jul 28, 2016
NegativeMjark
commented on the diff
Jul 28, 2016
synapse/handlers/federation.py
| @@ -1155,7 +1155,7 @@ def _handle_new_events(self, origin, event_infos, backfilled=False): | ||
| ) | ||
| @defer.inlineCallbacks | ||
| - def _persist_auth_tree(self, auth_events, state, event): | ||
| + def _persist_auth_tree(self, origin, auth_events, state, event): | ||
| """Checks the auth chain is valid (and passes auth checks) for the | ||
| state and event. Then persists the auth chain and state atomically. | ||
| Persists the event seperately. |
|
|
|
@NegativeMjark PTAL |
NegativeMjark
commented on the diff
Jul 29, 2016
synapse/handlers/federation.py
| @@ -1160,6 +1160,12 @@ def _persist_auth_tree(self, origin, auth_events, state, event): | ||
| state and event. Then persists the auth chain and state atomically. | ||
| Persists the event seperately. |
NegativeMjark
Contributor
|
|
Eh LGTM |
erikjohnston
merged commit cbea0c7
into
develop
Jul 29, 2016
10 checks passed
Flake8 + Packaging (Commit)
Build #1288 origin/erikj/fed_join_fix succeeded in 36 sec
Details
Flake8 + Packaging (Merged PR)
Build finished.
Details
Sytest Dendron (Commit)
Build #394 origin/erikj/fed_join_fix succeeded in 6 min 58 sec
Details
Sytest Dendron (Merged PR)
Build finished.
Details
Sytest Postgres (Commit)
Build #1230 origin/erikj/fed_join_fix succeeded in 6 min 58 sec
Details
Sytest Postgres (Merged PR)
Build finished.
Details
Sytest SQLite (Commit)
Build #1258 origin/erikj/fed_join_fix succeeded in 5 min 58 sec
Details
Sytest SQLite (Merged PR)
Build finished.
Details
Unit Tests (Commit)
Build #1325 origin/erikj/fed_join_fix succeeded in 2 min 35 sec
Details
Unit Tests (Merged PR)
Build finished.
Details
richvdh
deleted the
erikj/fed_join_fix
branch
Dec 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
erikjohnston commentedJul 28, 2016
No description provided.