diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-03 18:02:51 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-03 18:03:10 +0100 |
commit | 0d75b9fa96250cb6ee0759f7d23806dde0c50302 (patch) | |
tree | d3547a9f9b617eccb8c49d7dd39b58f032bea38b /webclient/components | |
parent | Marked docs/client-server/specification.rst as old. (diff) | |
download | synapse-0d75b9fa96250cb6ee0759f7d23806dde0c50302.tar.xz |
Fix a few cases where we used user_id instead of state_key
Diffstat (limited to 'webclient/components')
-rw-r--r-- | webclient/components/matrix/event-handler-service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/event-handler-service.js b/webclient/components/matrix/event-handler-service.js index a2fbad796d..ee478d2eb0 100644 --- a/webclient/components/matrix/event-handler-service.js +++ b/webclient/components/matrix/event-handler-service.js @@ -97,7 +97,7 @@ angular.module('eventHandlerService', []) } } - $rootScope.events.rooms[event.room_id].members[event.user_id] = event; + $rootScope.events.rooms[event.room_id].members[event.state_key] = event; $rootScope.$broadcast(MEMBER_EVENT, event, isLiveEvent); }; |