mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 19:35:03 -04:00
Fix hidden event keys being incorrectly shown in the even info dialog.
This commit is contained in:
parent
f4e50079de
commit
7614d8f87a
1 changed files with 5 additions and 1 deletions
|
@ -1004,7 +1004,11 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
|
|||
};
|
||||
|
||||
$scope.openJson = function(content) {
|
||||
$scope.event_selected = content;
|
||||
$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 this so the template can check power levels and enable/disable
|
||||
// buttons
|
||||
$scope.pow = eventHandlerService.getUserPowerLevel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue