mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Fix hidden event keys being incorrectly shown in the even info dialog.
This commit is contained in:
parent
f4e50079de
commit
7614d8f87a
@ -1004,7 +1004,11 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.openJson = function(content) {
|
$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
|
// scope this so the template can check power levels and enable/disable
|
||||||
// buttons
|
// buttons
|
||||||
$scope.pow = eventHandlerService.getUserPowerLevel;
|
$scope.pow = eventHandlerService.getUserPowerLevel;
|
||||||
|
Loading…
Reference in New Issue
Block a user