Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove an unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Jan 27, 2022
1 parent 57e4786 commit bbd10e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions synapse/handlers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ async def search(

results = search_result["results"]

results_map = {r["event"].event_id: r for r in results}

rank_map.update({r["event"].event_id: r["rank"] for r in results})

filtered_events = await search_filter.filter([r["event"] for r in results])
Expand Down

0 comments on commit bbd10e3

Please sign in to comment.