diff options
author | Aaron Raimist <aaron@raim.ist> | 2020-05-19 04:31:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 10:31:25 +0100 |
commit | 250f3eb991f129bbd12e4fce58a9d4124aabd41e (patch) | |
tree | 3eb92073fe50d2c4eeed3a917966fd664eaa3b83 /changelog.d/7497.bugfix | |
parent | Merge tag 'v1.13.0rc3' into develop (diff) | |
download | synapse-250f3eb991f129bbd12e4fce58a9d4124aabd41e.tar.xz |
Omit displayname or avatar_url if they aren't set instead of returning null (#7497)
Per https://github.com/matrix-org/matrix-doc/issues/1436#issuecomment-410089470 they should be omitted instead of returning null or "". They aren't marked as required in the spec. Fixes https://github.com/matrix-org/synapse/issues/7333 Signed-off-by: Aaron Raimist <aaron@raim.ist>
Diffstat (limited to 'changelog.d/7497.bugfix')
-rw-r--r-- | changelog.d/7497.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7497.bugfix b/changelog.d/7497.bugfix new file mode 100644 index 0000000000..3c7920cb10 --- /dev/null +++ b/changelog.d/7497.bugfix @@ -0,0 +1 @@ +When sending `m.room.member` events, omit `displayname` and `avatar_url` if they aren't set instead of setting them to `null`. Contributed by Aaron Raimist. |