Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify omitempty for some fields in DeviceListUpdateEvent #311

Merged
merged 1 commit into from
May 23, 2022

Conversation

neilalexander
Copy link
Contributor

This should address the cause of matrix-org/synapse#12829. These fields are optional, so we should omit them if they are empty instead of sending null.

This should address the cause of matrix-org/synapse#12829. These fields are optional, so we should omit them if they are empty instead of sending `null`.
@neilalexander neilalexander requested a review from kegsay May 23, 2022 12:04
neilalexander added a commit to matrix-org/dendrite that referenced this pull request May 23, 2022
@neilalexander neilalexander merged commit f7ea999 into main May 23, 2022
@neilalexander neilalexander deleted the neilalexander/previd branch May 23, 2022 13:26
neilalexander added a commit to matrix-org/dendrite that referenced this pull request May 23, 2022
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.

2 participants