diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-10-01 08:09:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 08:09:18 -0400 |
commit | 4ff0201e6235b8b2efc5ce5a7dc3c479ea96df53 (patch) | |
tree | 632703075ef78aac894ac884f6fe722ec0b8784a /synapse/handlers/room_member.py | |
parent | Add prometheus metrics to track federation delays (#8430) (diff) | |
download | synapse-4ff0201e6235b8b2efc5ce5a7dc3c479ea96df53.tar.xz |
Enable mypy checking for unreachable code and fix instances. (#8432)
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r-- | synapse/handlers/room_member.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index 8feba8c90a..5ec36f591d 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -642,7 +642,7 @@ class RoomMemberHandler(metaclass=abc.ABCMeta): async def send_membership_event( self, - requester: Requester, + requester: Optional[Requester], event: EventBase, context: EventContext, ratelimit: bool = True, |