summary refs log tree commit diff
path: root/synapse/handlers/search.py
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 /synapse/handlers/search.py
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 'synapse/handlers/search.py')
0 files changed, 0 insertions, 0 deletions