diff options
author | Erik Johnston <erikj@element.io> | 2024-09-11 13:16:57 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2024-09-11 16:42:50 +0100 |
commit | 76f7c91e441cd21f518b2fa79903cb4d03caaae3 (patch) | |
tree | 0e651971bbf7dc6bc05ae895c7c63a8a959f3647 /synapse/http/servlet.py | |
parent | Sliding sync: various fixups to the background update (#17652) (diff) | |
download | synapse-76f7c91e441cd21f518b2fa79903cb4d03caaae3.tar.xz |
Sliding sync: don't fetch room summary for named rooms. (#17683)
For rooms with a name we can skip fetching a full room summary, as we don't need to calculate heroes, and instead just fetch the room counts directly. This also changes things to not return counts and heroes for non-joined rooms. For left/banned rooms we were returning zero values anyway, and for invite/knock rooms we don't really want to leak such information (even if some of is included in the stripped state).
Diffstat (limited to 'synapse/http/servlet.py')
0 files changed, 0 insertions, 0 deletions