mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 13:04:18 -05:00
Fix broken redact enable logic.
This commit is contained in:
parent
7614d8f87a
commit
1071d063ab
@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button ng-click="redact()" type="button" class="btn btn-danger"
|
<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.">
|
title="Delete this event on all home servers. This cannot be undone.">
|
||||||
Redact
|
Redact
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user