summary refs log tree commit diff
path: root/changelog.d/12228.bugfix
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-03-18 13:15:45 -0400
committerGitHub <noreply@github.com>2022-03-18 17:15:45 +0000
commit80e0e1f35e6b1cdfa0267f9c40a6f212b7d774de (patch)
treebfb55bc6a8891539e9cb0bbc54d8fa230f2513dd /changelog.d/12228.bugfix
parentSync more worker regexes in the documentation. (#12243) (diff)
downloadsynapse-80e0e1f35e6b1cdfa0267f9c40a6f212b7d774de.tar.xz
Only fetch thread participation for events with threads. (#12228)
We fetch the thread summary in two phases:

1. The summary that is shared by all users (count of messages and latest event).
2. Whether the requesting user has participated in the thread.

There's no use in attempting step 2 for events which did not return a summary
from step 1.
Diffstat (limited to 'changelog.d/12228.bugfix')
-rw-r--r--changelog.d/12228.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12228.bugfix b/changelog.d/12228.bugfix
new file mode 100644
index 0000000000..4755777139
--- /dev/null
+++ b/changelog.d/12228.bugfix
@@ -0,0 +1 @@
+Fix a bug introduced in v1.53.0 where an unnecessary query could be performed when fetching bundled aggregations for threads.