diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2022-04-01 13:01:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 13:01:49 +0100 |
commit | 319a805cd35fd25ff5ab6a6d85c4a4bfd5cb1aea (patch) | |
tree | 89ff2c05c2e4b85fde706c2b055c8782fb9bf9ed /changelog.d/12191.misc | |
parent | Optimise `_get_state_after_missing_prev_event`: use `/state` (#12040) (diff) | |
download | synapse-319a805cd35fd25ff5ab6a6d85c4a4bfd5cb1aea.tar.xz |
Raise an exception when getting state at an outlier (#12191)
It seems like calling `_get_state_group_for_events` for an event where the state is unknown is an error. Accordingly, let's raise an exception rather than silently returning an empty result.
Diffstat (limited to 'changelog.d/12191.misc')
-rw-r--r-- | changelog.d/12191.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12191.misc b/changelog.d/12191.misc new file mode 100644 index 0000000000..9f333e718a --- /dev/null +++ b/changelog.d/12191.misc @@ -0,0 +1 @@ +Avoid trying to calculate the state at outlier events. |