diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-09-01 08:39:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 08:39:04 -0400 |
commit | da77520cd1c414c9341da287967feb1bab14cbec (patch) | |
tree | ada9ea71a1271598a8bc2e9ab7c39a79ca928dac /synapse/handlers/room_member.py | |
parent | Make MultiWriterIDGenerator work for streams that use negative stream IDs (#8... (diff) | |
download | synapse-da77520cd1c414c9341da287967feb1bab14cbec.tar.xz |
Convert additional databases to async/await part 2 (#8200)
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r-- | synapse/handlers/room_member.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index cae4d013b8..a7962b0ada 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -38,15 +38,7 @@ from synapse.events.builder import create_local_event_from_event_dict from synapse.events.snapshot import EventContext from synapse.events.validator import EventValidator from synapse.storage.roommember import RoomsForUser -from synapse.types import ( - Collection, - JsonDict, - Requester, - RoomAlias, - RoomID, - StateMap, - UserID, -) +from synapse.types import JsonDict, Requester, RoomAlias, RoomID, StateMap, UserID from synapse.util.async_helpers import Linearizer from synapse.util.distributor import user_joined_room, user_left_room @@ -184,7 +176,7 @@ class RoomMemberHandler(object): target: UserID, room_id: str, membership: str, - prev_event_ids: Collection[str], + prev_event_ids: List[str], txn_id: Optional[str] = None, ratelimit: bool = True, content: Optional[dict] = None, |