From 448ac6cf0d357de33fb653f76e48f260ed6f66ae Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 12 Aug 2016 09:32:19 +0100 Subject: [PATCH] Only process one local membership event per room at a time --- synapse/handlers/room_member.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index 8cec8fc4ed..4709112a0c 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -141,7 +141,7 @@ class RoomMemberHandler(BaseHandler): third_party_signed=None, ratelimit=True, ): - key = (target, room_id,) + key = (room_id,) with (yield self.member_linearizer.queue(key)): result = yield self._update_membership(