mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 21:34:56 -04:00
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.
This commit is contained in:
parent
1c86ec5b8d
commit
5949571fe7
4 changed files with 12 additions and 9 deletions
|
@ -1007,7 +1007,8 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
|
|||
$scope.event_selected = angular.copy(content);
|
||||
|
||||
// FIXME: Pre-calculated event data should be stripped in a nicer way.
|
||||
$scope.event_selected.room_member = undefined;
|
||||
$scope.event_selected.__room_member = undefined;
|
||||
$scope.event_selected.__target_room_member = undefined;
|
||||
|
||||
// scope this so the template can check power levels and enable/disable
|
||||
// buttons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue