diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-08-15 09:33:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 09:33:17 -0400 |
commit | 46bd7f4ed9020bbed459c03a11c26d7f7c3093b0 (patch) | |
tree | 7e10433b52e7a452674895daac245e98f62e226a /synapse/storage/databases/main/receipts.py | |
parent | Update locked versions of mypy and mypy-zope (#13521) (diff) | |
download | synapse-46bd7f4ed9020bbed459c03a11c26d7f7c3093b0.tar.xz |
Clarifications for event push action processing. (#13485)
* Clarifies comments. * Fixes an erroneous comment (about return type) added in #13455 (ec24813220f9d54108924dc04aecd24555277b99). * Clarifies the name of a variable. * Simplifies logic of pulling out the latest join for the requesting user.
Diffstat (limited to 'synapse/storage/databases/main/receipts.py')
-rw-r--r-- | synapse/storage/databases/main/receipts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/receipts.py b/synapse/storage/databases/main/receipts.py index 0090c9f225..124c70ad37 100644 --- a/synapse/storage/databases/main/receipts.py +++ b/synapse/storage/databases/main/receipts.py @@ -161,7 +161,7 @@ class ReceiptsWorkerStore(SQLBaseStore): receipt_type: The receipt types to fetch. Returns: - The latest receipt, if one exists. + The event ID and stream ordering of the latest receipt, if one exists. """ clause, args = make_in_list_sql_clause( |