diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-03 15:05:35 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-03 15:05:35 +0000 |
commit | 1071d063ab92a882eaacf71dfe05f580c65f6b75 (patch) | |
tree | 9c3ca9e6235712dd56e269912b7a0751a4c3fdad /webclient/room/room.html | |
parent | Fix hidden event keys being incorrectly shown in the even info dialog. (diff) | |
download | synapse-1071d063ab92a882eaacf71dfe05f580c65f6b75.tar.xz |
Fix broken redact enable logic.
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 8b5be66cf5..3f4c4c57b6 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -6,7 +6,7 @@ </div> <div class="modal-footer"> <button ng-click="redact()" type="button" class="btn btn-danger" - ng-disabled="!room.current_room.state.state_events['m.room.ops_levels'].content.redact_level || !pow(room_id, state.user_id) || pow(room_id, state.user_id) < room.current_room.state.state_events['m.room.ops_levels'].content.redact_level" + ng-disabled="!room.current_room_state.state('m.room.ops_levels').content.redact_level || !pow(room_id, state.user_id) || pow(room_id, state.user_id) < room.current_room_state.state('m.room.ops_levels').content.redact_level" title="Delete this event on all home servers. This cannot be undone."> Redact </button> |