You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
expose power level toggle for enabling e2ee to room settings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -30,6 +30,7 @@ const plEventsToLabels = {
|
|||||||
"m.room.history_visibility": _td("Change history visibility"),
|
"m.room.history_visibility": _td("Change history visibility"),
|
||||||
"m.room.power_levels": _td("Change permissions"),
|
"m.room.power_levels": _td("Change permissions"),
|
||||||
"m.room.topic": _td("Change topic"),
|
"m.room.topic": _td("Change topic"),
|
||||||
|
"m.room.encryption": _td("Enable room encryption"),
|
||||||
|
|
||||||
"im.vector.modular.widgets": _td("Modify widgets"),
|
"im.vector.modular.widgets": _td("Modify widgets"),
|
||||||
};
|
};
|
||||||
@@ -42,6 +43,7 @@ const plEventsToShow = {
|
|||||||
"m.room.history_visibility": {isState: true},
|
"m.room.history_visibility": {isState: true},
|
||||||
"m.room.power_levels": {isState: true},
|
"m.room.power_levels": {isState: true},
|
||||||
"m.room.topic": {isState: true},
|
"m.room.topic": {isState: true},
|
||||||
|
"m.room.encryption": {isState: true},
|
||||||
|
|
||||||
"im.vector.modular.widgets": {isState: true},
|
"im.vector.modular.widgets": {isState: true},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -680,6 +680,7 @@
|
|||||||
"Change history visibility": "Change history visibility",
|
"Change history visibility": "Change history visibility",
|
||||||
"Change permissions": "Change permissions",
|
"Change permissions": "Change permissions",
|
||||||
"Change topic": "Change topic",
|
"Change topic": "Change topic",
|
||||||
|
"Enable room encryption": "Enable room encryption",
|
||||||
"Modify widgets": "Modify widgets",
|
"Modify widgets": "Modify widgets",
|
||||||
"Failed to unban": "Failed to unban",
|
"Failed to unban": "Failed to unban",
|
||||||
"Unban": "Unban",
|
"Unban": "Unban",
|
||||||
|
|||||||
Reference in New Issue
Block a user