Fix typos and spelling errors. (#8639)

This commit is contained in:
Patrick Cloke 2020-10-23 12:38:40 -04:00 committed by GitHub
parent c850dd9a8e
commit 34a5696f93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 63 additions and 60 deletions

View file

@ -754,7 +754,7 @@ class SyncHandler:
"""
# TODO(mjark) Check if the state events were received by the server
# after the previous sync, since we need to include those state
# updates even if they occured logically before the previous event.
# updates even if they occurred logically before the previous event.
# TODO(mjark) Check for new redactions in the state events.
with Measure(self.clock, "compute_state_delta"):
@ -1882,7 +1882,7 @@ class SyncHandler:
# members (as the client otherwise doesn't have enough info to form
# the name itself).
if sync_config.filter_collection.lazy_load_members() and (
# we recalulate the summary:
# we recalculate the summary:
# if there are membership changes in the timeline, or
# if membership has changed during a gappy sync, or
# if this is an initial sync.