Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Apr 11, 2020
1 parent ac978ab commit 118b58f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion synapse/handlers/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ async def _get_rooms_changed(
)

# We loop through all room ids, even if there are no new events, in case
# there are non room events taht we need to notify about.
# there are non room events that we need to notify about.
for room_id in sync_result_builder.joined_room_ids:
room_entry = room_to_events.get(room_id, None)

Expand Down
2 changes: 1 addition & 1 deletion synapse/storage/data_stores/main/events_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def _get_events_from_db(self, event_ids, allow_rejected=False):

event_map[event_id] = original_ev

# finally, we can decide whether each one nededs redacting, and build
# finally, we can decide whether each one needs redacting, and build
# the cache entries.
result_map = {}
for event_id, original_ev in event_map.items():
Expand Down

0 comments on commit 118b58f

Please sign in to comment.