diff options
author | Erik Johnston <erikj@element.io> | 2025-04-16 14:14:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-16 14:14:56 +0100 |
commit | c16a981f22dd559b56caa94a46392c206be9a265 (patch) | |
tree | 0e226a545772caea073aa7d7b0f01c10ce8536bf /scripts-dev/check_pydantic_models.py | |
parent | Fix ExternalIDReuse exception for concurrent transactions (#18342) (diff) | |
download | synapse-c16a981f22dd559b56caa94a46392c206be9a265.tar.xz |
Fix query for room participation (#18345)
Follow on from #18068 Currently the subquery in `UPDATE` is pointless, as it will still just update all `room_membership` rows. Instead, we should look at the current membership event ID (which is easily retrieved from `local_current_membership`). We also add a `AND NOT participant` to noop the `UPDATE` when the `participant` flag is already set. cc @H-Shay
Diffstat (limited to 'scripts-dev/check_pydantic_models.py')
0 files changed, 0 insertions, 0 deletions