diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2023-01-28 17:54:37 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2023-01-28 17:54:48 +0100 |
commit | bd5189c9f73319f566d342fc0a7fcaeaea18376f (patch) | |
tree | 0d7d21e96c9a5d2b0054d825642226a3e6b77e6a /synapse/rest/admin/users.py | |
parent | Ignore remote device displaynames if MSC3480 enabled (diff) | |
download | synapse-anoa/msc3480.tar.xz |
Hide device displaynames from other users github/anoa/msc3480 anoa/msc3480
Some argument finagling was needed as query_local_devices can be called from requests of both local and remote users, and in the case of remote users, without a user ID. In the end, we have an option 'from_local_user_id' which tells `query_local_devices` both a) whether the request is from a local or remote user and b) if a local user, which one.
Diffstat (limited to 'synapse/rest/admin/users.py')
0 files changed, 0 insertions, 0 deletions