summary refs log tree commit diff
path: root/synapse/rest/media
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2023-01-28 17:54:37 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2023-01-28 17:54:48 +0100
commitbd5189c9f73319f566d342fc0a7fcaeaea18376f (patch)
tree0d7d21e96c9a5d2b0054d825642226a3e6b77e6a /synapse/rest/media
parentIgnore remote device displaynames if MSC3480 enabled (diff)
downloadsynapse-anoa/msc3480.tar.xz
Hide device displaynames from other users 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/media')
0 files changed, 0 insertions, 0 deletions