diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-26 09:26:07 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-26 09:26:07 +0100 |
commit | cab3095803db0c046f414959d12e3549505f54c4 (patch) | |
tree | a00409373497d934a2f4bbc488f5eef3d5421420 /synapse/api/notifier.py | |
parent | Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet ... (diff) | |
download | synapse-cab3095803db0c046f414959d12e3549505f54c4.tar.xz |
Removed member list servlet: now using generic state paths.
Diffstat (limited to 'synapse/api/notifier.py')
-rw-r--r-- | synapse/api/notifier.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/notifier.py b/synapse/api/notifier.py index 9f622df6bb..ec9c4e513d 100644 --- a/synapse/api/notifier.py +++ b/synapse/api/notifier.py @@ -56,11 +56,11 @@ class Notifier(object): # invites MUST prod the person being invited, who won't be in the room. if (event.type == RoomMemberEvent.TYPE and event.content["membership"] == Membership.INVITE): - member_list.append(event.target_user_id) + member_list.append(event.state_key) # similarly, LEAVEs must be sent to the person leaving if (event.type == RoomMemberEvent.TYPE and event.content["membership"] == Membership.LEAVE): - member_list.append(event.target_user_id) + member_list.append(event.state_key) for user_id in member_list: if user_id in self.stored_event_listeners: |