summary refs log tree commit diff
path: root/contrib
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 /contrib
parentIgnore remote device displaynames if MSC3480 enabled (diff)
downloadsynapse-bd5189c9f73319f566d342fc0a7fcaeaea18376f.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 'contrib')
0 files changed, 0 insertions, 0 deletions