diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-04 10:30:34 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-04 10:30:34 +0000 |
commit | 5949571fe75eecefc9ff2433d9de46dfa5b80902 (patch) | |
tree | be2f0259bd8e245dfee66eabe6fdeba2608d088f /webclient/components | |
parent | Rejig display names when paginating to lie less. (diff) | |
download | synapse-5949571fe75eecefc9ff2433d9de46dfa5b80902.tar.xz |
SYWEB-116: Implement historical display name support.
This works for both live and paginated events. Each 'message' event has an associated '__room_member' key which points to the state of the sender at that point in time. Invites have an additional key '__target_room_member' which point to the state of the invitee at that point in time. This obviates the need for mapping user_ids to *current* displaynames in the message list, though this is still required for the user/presence list.
Diffstat (limited to 'webclient/components')
-rw-r--r-- | webclient/components/matrix/event-handler-service.js | 4 | ||||
-rw-r--r-- | webclient/components/matrix/model-service.js | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/webclient/components/matrix/event-handler-service.js b/webclient/components/matrix/event-handler-service.js |