diff options
author | David Baker <dave@matrix.org> | 2016-02-03 14:59:19 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-02-03 14:59:19 +0000 |
commit | 24277fbb97540499daf4984b3ac1a1b81a0a19de (patch) | |
tree | 81d26c1ac4ad82ed03c900e1bde5650f93394111 /synapse | |
parent | Merge pull request #556 from matrix-org/daniel/config (diff) | |
download | synapse-24277fbb97540499daf4984b3ac1a1b81a0a19de.tar.xz |
Don't return null if profile display name / avatar url isn't set: omit them instead
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/client/v1/profile.py | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/synapse/rest/client/v1/profile.py b/synapse/rest/client/v1/profile.py |