Skip to content

Fix test failures when optional keys in /sync are left out#1040

Merged
richvdh merged 2 commits intomatrix-org:developfrom
deepbluev7:develop
May 5, 2021
Merged

Fix test failures when optional keys in /sync are left out#1040
richvdh merged 2 commits intomatrix-org:developfrom
deepbluev7:develop

Conversation

@deepbluev7
Copy link
Contributor

@deepbluev7 deepbluev7 commented May 1, 2021

This makes all the sytests pass, if my patched synapse just sends the minimum amount of keys necessary in /sync (apart from 3 email related ones, which is probably my system).

Related: matrix-org/synapse#9919

Signed-off-by: Nicolas Werner nicolas.werner@hotmail.de

deepbluev7 added 2 commits May 1, 2021 18:53
Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
@ShadowJonathan
Copy link
Contributor

Does this fix #957?

@deepbluev7
Copy link
Contributor Author

It would partially fix #957, but I haven't gone into rooms and stripped those keys, so there may still be some dependencies there. Like room specific account data, summary, etc.

@clokep clokep requested a review from a team May 3, 2021 11:03
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. Thanks!

@richvdh richvdh merged commit df27d43 into matrix-org:develop May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants