Skip to content
Snippets Groups Projects
Unverified Commit 250f3eb9 authored by Aaron's avatar Aaron Committed by GitHub
Browse files

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: default avatarAaron Raimist <aaron@raim.ist>
parent ee421e52
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment