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

Make prev_state field optional#4837

Merged
erikjohnston merged 3 commits intodevelopfrom
erikj/optional_prev_state
Mar 11, 2019
Merged

Make prev_state field optional#4837
erikjohnston merged 3 commits intodevelopfrom
erikj/optional_prev_state

Conversation

@erikjohnston
Copy link
Member

The prev_state field on events is not specced and so synapse shouldn't
explode if an event is missing the field.

Fixes #4787

The `prev_state` field on events is not specced and so synapse shouldn't
explode if an event is missing the field.

Fixes #4787
@erikjohnston erikjohnston requested a review from a team March 8, 2019 15:08
@erikjohnston erikjohnston marked this pull request as ready for review March 8, 2019 15:08
@codecov
Copy link

codecov bot commented Mar 8, 2019

Codecov Report

Merging #4837 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #4837      +/-   ##
===========================================
+ Coverage    75.34%   75.36%   +0.01%     
===========================================
  Files          340      340              
  Lines        34920    34918       -2     
  Branches      5717     5716       -1     
===========================================
+ Hits         26312    26317       +5     
+ Misses        6999     6991       -8     
- Partials      1609     1610       +1

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, though any chance you could also:

@erikjohnston
Copy link
Member Author

Done: matrix-org/sytest#570

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