summary refs log tree commit diff
path: root/synapse/handlers/cas.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-05-30 12:33:48 +0100
committerGitHub <noreply@github.com>2024-05-30 11:33:48 +0000
commit4e3868dc46df08e56efbad11b9a583ed4ec699ff (patch)
tree3a3c1f06edc55ee85c4f3cedc022169a50779b09 /synapse/handlers/cas.py
parentReplaces all usages of `StreamIdGenerator` with `MultiWriterIdGenerator` (#17... (diff)
downloadsynapse-4e3868dc46df08e56efbad11b9a583ed4ec699ff.tar.xz
Fix deduplicating of membership events to not create unused state groups. (#17164)
We try and deduplicate in two places: 1) really early on, and 2) just
before we persist the event. The first case was broken due to it
occuring before the profile information was added, and so it thought the
event contents were different.

The second case did catch it and handle it correctly, however doing so
creates a redundant state group leading to bloat.

Fixes #3791
Diffstat (limited to 'synapse/handlers/cas.py')
0 files changed, 0 insertions, 0 deletions