element-hq / element-hq/synapse

Option to only share presence with members of rooms with `m.direct`

Open
#11,977 0 comments 0 reactions 0 assignees View on GitHub
A-Presence P4 roadmap 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 [#11977](https://github.com/matrix-org/synapse/issues/11977).

---

As you know, presence updates have a major impact on the overall server performance... but just turning it off is not a real solution in most use-cases. Therefore, I'm suggesting a new option in the presence configuration called `limit_to_direct_rooms` (or something like that).

The idea is, that when collecting the list of interested parties for presence updates, only room ids with a `m.direct` membership should be used. As a result, users would retrieve presence updates for their "contacts", but not for everyone who's sharing a group chat room. This could help decreasing the server load and increase privacy at the same time.

What do you think? Could this be a reasonable solution?

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.