summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-07-15 18:08:59 -0400
committerJoseph Donofry <joedonofry@gmail.com>2021-07-15 18:08:59 -0400
commit19f2c02eda12290c2e227086bd6ebc4b3284375c (patch)
tree7f22f457d1bd301324205702cd584b825ed0878e /resources
parentFix warning by deleting code I don't understand (diff)
downloadnheko-19f2c02eda12290c2e227086bd6ebc4b3284375c.tar.xz
Remove 'respond to key requests' functionality
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/RoomSettings.qml17
1 files changed, 0 insertions, 17 deletions
diff --git a/resources/qml/RoomSettings.qml b/resources/qml/RoomSettings.qml
index c852b837..4b06401a 100644
--- a/resources/qml/RoomSettings.qml
+++ b/resources/qml/RoomSettings.qml
@@ -222,23 +222,6 @@ ApplicationWindow {
                 buttons: Dialog.Ok | Dialog.Cancel
             }
 
-            MatrixText {
-                visible: roomSettings.isEncryptionEnabled
-                text: qsTr("Respond to key requests")
-            }
-
-            ToggleButton {
-                visible: roomSettings.isEncryptionEnabled
-                ToolTip.text: qsTr("Whether or not the client should respond automatically with the session keys
-                                upon request. Use with caution, this is a temporary measure to test the
-                                E2E implementation until device verification is completed.")
-                checked: roomSettings.respondsToKeyRequests
-                onClicked: {
-                    roomSettings.changeKeyRequestsPreference(checked);
-                }
-                Layout.alignment: Qt.AlignRight
-            }
-
             Item {
                 // for adding extra space between sections
                 Layout.fillWidth: true