Aaron Raimist 250f3eb991
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>
2020-05-19 10:31:25 +01:00
..
2020-05-15 18:54:32 +01:00
2020-05-15 19:37:41 +01:00
2020-05-15 19:37:41 +01:00
2020-05-15 19:37:41 +01:00
2020-05-18 11:10:04 -04:00
2019-12-12 15:21:12 +00:00
2020-05-15 19:37:41 +01:00
2020-05-18 10:58:51 -04:00
2020-05-13 08:24:50 -04:00
2019-06-20 19:32:02 +10:00
2020-03-11 18:49:41 +00:00