This commit is contained in:
Tobias Fella
2026-02-06 14:18:54 +01:00
parent 39aaced0f9
commit ac04fa6a13
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ FormCard.FormCardPage {
standardButtons: Kirigami.Dialog.Ok standardButtons: Kirigami.Dialog.Ok
}) })
dialog.open(); dialog.open();
root.connection.onNewKeyVerificationSession.connect(() => { root.connection.newKeyVerificationSession.connect(() => {
dialog.close(); dialog.close();
}); });
} }

View File

@@ -76,7 +76,7 @@ FormCard.FormCardPage {
text: i18nc("@option:check", "Turn on encryption in new chats") text: i18nc("@option:check", "Turn on encryption in new chats")
description: i18nc("@info", "If enabled, NeoChat will use encryption when starting new direct messages.") description: i18nc("@info", "If enabled, NeoChat will use encryption when starting new direct messages.")
checked: NeoChatConfig.preferUsingEncryption checked: NeoChatConfig.preferUsingEncryption
enabled: !NeoChatConfig.preferUsingEncryptionImmutable enabled: !NeoChatConfig.isPreferUsingEncryptionImmutable
onToggled: { onToggled: {
NeoChatConfig.preferUsingEncryption = checked; NeoChatConfig.preferUsingEncryption = checked;
NeoChatConfig.save(); NeoChatConfig.save();