diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-08-10 12:58:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 12:58:20 +0100 |
commit | 51c01d450a5165060c8e17b506388a9b1808dda9 (patch) | |
tree | 9518a0432810ed285abdf16dc77baaf834f79401 /synapse/visibility.py | |
parent | Allow use of both `@trace` and `@tag_args` stacked on the same function (#13453) (diff) | |
download | synapse-51c01d450a5165060c8e17b506388a9b1808dda9.tar.xz |
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>
Diffstat (limited to 'synapse/visibility.py')
-rw-r--r-- | synapse/visibility.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py index d947edde66..c810a05907 100644 --- a/synapse/visibility.py +++ b/synapse/visibility.py @@ -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. |