element-hq / element-hq/synapse

Better handling of appservices in user directory

Open
#11,052 0 comments 0 reactions 0 assignees View on GitHub
A-Application-Service A-User-Directory T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#11052](https://github.com/matrix-org/synapse/issues/11052).

---

Synapse has excluded appservice users from the directory for ages. It hasn't excluded appservice senders (but I'm about to make this change to fix #11025). This means there's a whole class of virtual users who we might be able to see but not reach out to.

Ideally appservices would be able to specify if their virtual users are contactable, or some other flag that means they should be exposed in the user directory. They should probably also be able to specify if the appservice sender is contactable too.

The existing rules (you can only see users in public rooms, or in private rooms you share with them) should still apply.

See also discussions https://github.com/matrix-org/synapse/pull/10914#discussion_r716859548 and https://github.com/matrix-org/synapse/pull/11026#discussion_r725252925

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.