Skip to content

Specify omitempty for some fields in DeviceListUpdateEvent#311

Merged
neilalexander merged 1 commit intomainfrom
neilalexander/previd
May 23, 2022
Merged

Specify omitempty for some fields in DeviceListUpdateEvent#311
neilalexander merged 1 commit intomainfrom
neilalexander/previd

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