mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 23:15:02 -04:00
Add some miscellaneous comments around sync (#13474)
Add some miscellaneous comments to document sync, especially around `compute_state_delta`. Signed-off-by: Sean Quah <seanq@matrix.org> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
1b09b0832e
commit
51c01d450a
3 changed files with 81 additions and 40 deletions
|
@ -73,8 +73,8 @@ async def filter_events_for_client(
|
|||
* the user is not currently a member of the room, and:
|
||||
* the user has not been a member of the room since the given
|
||||
events
|
||||
always_include_ids: set of event ids to specifically
|
||||
include (unless sender is ignored)
|
||||
always_include_ids: set of event ids to specifically include, if present
|
||||
in events (unless sender is ignored)
|
||||
filter_send_to_client: Whether we're checking an event that's going to be
|
||||
sent to a client. This might not always be the case since this function can
|
||||
also be called to check whether a user can see the state at a given point.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue