diff options
author | Erik Johnston <erikj@element.io> | 2024-05-30 12:33:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 11:33:48 +0000 |
commit | 4e3868dc46df08e56efbad11b9a583ed4ec699ff (patch) | |
tree | 3a3c1f06edc55ee85c4f3cedc022169a50779b09 /synapse/handlers/cas.py | |
parent | Replaces all usages of `StreamIdGenerator` with `MultiWriterIdGenerator` (#17... (diff) | |
download | synapse-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