summary refs log tree commit diff
path: root/changelog.d/15232.bugfix
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2023-03-09 14:18:39 +0000
committerGitHub <noreply@github.com>2023-03-09 14:18:39 +0000
commitcaf43c3d7c51edad250e50add5595e44720ba32f (patch)
treea4a722c3af5f4de3cd786d50f2f69ba5a2c17a69 /changelog.d/15232.bugfix
parentAdd missing type hints to `synapse.storage.database`. (#15230) (diff)
downloadsynapse-caf43c3d7c51edad250e50add5595e44720ba32f.tar.xz
Faster joins: Fix spurious errors on incremental sync (#15232)
When pushing events in partial state rooms down incremental /sync, we
try to find the `m.room.member` state event for their senders by digging
through their auth events, so that we can present the membership to the
client. Events usually have a membership event in their auth events,
with the exception of the `m.room.create` event and a user's first join
into the room.

When implementing #13477, we took the case of a user's first join into
account, but forgot to handle the `m.room.create` case. This change
fixes that.

Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'changelog.d/15232.bugfix')
-rw-r--r--changelog.d/15232.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15232.bugfix b/changelog.d/15232.bugfix
new file mode 100644
index 0000000000..d75a4f2d99
--- /dev/null
+++ b/changelog.d/15232.bugfix
@@ -0,0 +1 @@
+Faster joins: Fix a bug introduced in Synapse 1.66 where spurious "Failed to find memberships ..." errors would be logged.