diff options
author | Eric Eastwood <erice@element.io> | 2023-06-06 22:19:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 22:19:57 -0500 |
commit | 9d911b0da651893e0b67cb3506e18582cb0d95b5 (patch) | |
tree | 9972bb7c93ccdcb04676035babcbadbe230d961b /changelog.d | |
parent | Trace functions which return `Awaitable` (#15650) (diff) | |
download | synapse-9d911b0da651893e0b67cb3506e18582cb0d95b5.tar.xz |
No need for the extra join since `membership` is built-in to `current_state_events` (#15731)
This helps with the upstream `is_host_joined()` and `is_host_invited()` functions. `membership` was added to `current_state_events` in https://github.com/matrix-org/synapse/pull/5706 and forced in https://github.com/matrix-org/synapse/pull/13745
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/15731.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15731.misc b/changelog.d/15731.misc new file mode 100644 index 0000000000..906bc26962 --- /dev/null +++ b/changelog.d/15731.misc @@ -0,0 +1 @@ +Remove redundant table join with `room_memberships` when doing a `is_host_joined()`/`is_host_invited()` call (`membership` is already part of the `current_state_events`). |