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

Add include_event_in_state to _get_state_for_room #6521

Merged
merged 2 commits into from
Dec 11, 2019
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 11, 2019

Make it return the state after the requested event, rather than the one
before it. This is a bit easier and requires fewer calls to
get_events_from_store_or_dest.

based on #6517

Make it return the state *after* the requested event, rather than the one
before it. This is a bit easier and requires fewer calls to
get_events_from_store_or_dest.
@richvdh richvdh requested a review from a team December 11, 2019 15:12
@richvdh richvdh merged commit 2045356 into develop Dec 11, 2019
@richvdh richvdh deleted the rav/event_auth/14 branch December 11, 2019 16:38
richvdh added a commit that referenced this pull request Dec 16, 2019
Make it return the state *after* the requested event, rather than the one
before it. This is a bit easier and requires fewer calls to
get_events_from_store_or_dest.
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 '204535651':
  Add `include_event_in_state` to _get_state_for_room (#6521)
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '20d5ba16e':
  Add `include_event_in_state` to _get_state_for_room (#6521)
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.

2 participants