summary refs log tree commit diff
path: root/tests/util/test_stringutils.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2025-01-03 12:23:29 -0500
committerGitHub <noreply@github.com>2025-01-03 17:23:29 +0000
commit6306de8e162479c51032cb8440ced9b125ed0927 (patch)
tree7416b78f4d11fd4d95b97992dc5d5caaee0bf18e /tests/util/test_stringutils.py
parentAdd a test to verify remote user messages can be redacted via admin api redac... (diff)
downloadsynapse-6306de8e162479c51032cb8440ced9b125ed0927.tar.xz
Refactor get_profile: do not return missing fields. (#18063)
Refactor `get_profile` to avoid returning "empty" (`None` / `null`)
fields. Currently this is not very important, but will be more useful
once #17488 lands. It does update the servlet to use this now which has
a minor change in behavior: additional fields served over federation
will now be properly sent back to clients.

It also adds constants for `avatar_url` / `displayname` although I did
not attempt to use it everywhere possible.
Diffstat (limited to 'tests/util/test_stringutils.py')
0 files changed, 0 insertions, 0 deletions