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

@ -390,12 +390,12 @@ class RulesForRoom:
continue
# If a user has left a room we remove their push rule. If they
# joined then we readd it later in _update_rules_with_member_event_ids
# joined then we re-add it later in _update_rules_with_member_event_ids
ret_rules_by_user.pop(user_id, None)
missing_member_event_ids[user_id] = event_id
if missing_member_event_ids:
# If we have some memebr events we haven't seen, look them up
# If we have some member events we haven't seen, look them up
# and fetch push rules for them if appropriate.
logger.debug("Found new member events %r", missing_member_event_ids)
await self._update_rules_with_member_event_ids(