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

Commit

Permalink
Remove redundant Measure block
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Sep 22, 2022
1 parent a477ce1 commit fe5b0a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions synapse/handlers/event_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ async def get_user_which_could_invite(
)

async def check_host_in_room(self, room_id: str, host: str) -> bool:
with Measure(self._clock, "check_host_in_room"):
return await self._store.is_host_joined(room_id, host)
return await self._store.is_host_joined(room_id, host)

async def check_restricted_join_rules(
self,
Expand Down

0 comments on commit fe5b0a1

Please sign in to comment.