Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Refactor get_events_from_store_or_dest to return a dict #6501

Merged
merged 2 commits into from
Dec 10, 2019

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 10, 2019

There was a bunch of unnecessary conversion back and forth between dict and
list going on here. We can simplify a bunch of the code.

There was a bunch of unnecessary conversion back and forth between dict and
list going on here. We can simplify a bunch of the code.
@richvdh richvdh merged commit c3dda28 into develop Dec 10, 2019
@richvdh richvdh deleted the rav/event_auth/9 branch December 10, 2019 16:22
anoadragon453 added a commit that referenced this pull request Dec 11, 2019
…rch_redacted_events

* 'develop' of github.com:matrix-org/synapse: (100 commits)
  Move get_state methods into FederationHandler (#6503)
  Allow SAML username provider plugins (#6411)
  Fix race which caused deleted devices to reappear (#6514)
  Refactor get_events_from_store_or_dest to return a dict (#6501)
  Remove redundant code from event authorisation implementation. (#6502)
  Newsfile
  Silence mypy errors for files outside those specified
  Newsfile
  Phone home stats DB reporting should not assume a single DB.
  Update comment
  Drop unused index
  Convert _censor_redactions to async since it awaits on coroutines
  Only start censor background job after indices are created
  Newsfile
  Newsfile
  Fix make_deferred_yieldable to work with coroutines
  Newsfile
  Fix support for SQLite 3.7.
  Better errors regarding changing avatar_url (#6497)
  1.7.0rc1
  ...
richvdh added a commit that referenced this pull request Dec 16, 2019
There was a bunch of unnecessary conversion back and forth between dict and
list going on here. We can simplify a bunch of the code.
richvdh added a commit that referenced this pull request Dec 18, 2019
Synapse 1.7.1 (2019-12-18)
==========================

This release includes several security fixes as well as a fix to a bug exposed by the security fixes. Administrators are encouraged to upgrade as soon as possible.

Security updates
----------------

- Fix a bug which could cause room events to be incorrectly authorized using events from a different room. ([\#6501](#6501), [\#6503](#6503), [\#6521](#6521), [\#6524](#6524), [\#6530](#6530), [\#6531](#6531))
- Fix a bug causing responses to the `/context` client endpoint to not use the pruned version of the event. ([\#6553](#6553))
- Fix a cause of state resets in room versions 2 onwards. ([\#6556](#6556), [\#6560](#6560))

Bugfixes
--------

- Fix a bug which could cause the federation server to incorrectly return errors when handling certain obscure event graphs. ([\#6526](#6526), [\#6527](#6527))
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit 'c3dda2874':
  Refactor get_events_from_store_or_dest to return a dict (#6501)
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '4c7b1bb6c':
  Refactor get_events_from_store_or_dest to return a dict (#6501)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants