Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c42a0f96 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Nishith Khanna
Browse files

Revert "Disable use of the signature when creating the default identity"

This reverts commit f229b8ca.
parent e7e8d608
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ class AccountPreferenceSerializer(
            gotOne = false
            val name = storage.getString("$accountUuid.$IDENTITY_NAME_KEY.$ident", null)
            val email = storage.getString("$accountUuid.$IDENTITY_EMAIL_KEY.$ident", null)
            val signatureUse = storage.getBoolean("$accountUuid.signatureUse.$ident", false)
            val signatureUse = storage.getBoolean("$accountUuid.signatureUse.$ident", true)
            val signature = storage.getString("$accountUuid.signature.$ident", null)
            val description = storage.getString("$accountUuid.$IDENTITY_DESCRIPTION_KEY.$ident", null)
            val replyTo = storage.getString("$accountUuid.replyTo.$ident", null)
@@ -237,7 +237,7 @@ class AccountPreferenceSerializer(
        if (newIdentities.isEmpty()) {
            val name = storage.getString("$accountUuid.name", null)
            val email = storage.getString("$accountUuid.email", null)
            val signatureUse = storage.getBoolean("$accountUuid.signatureUse", false)
            val signatureUse = storage.getBoolean("$accountUuid.signatureUse", true)
            val signature = storage.getString("$accountUuid.signature", null)
            val identity = Identity(
                name = name,
@@ -616,7 +616,7 @@ class AccountPreferenceSerializer(
            identities = ArrayList<Identity>()

            val identity = Identity(
                signatureUse = false,
                signatureUse = true,
                signature = resourceProvider.defaultSignature(),
                description = resourceProvider.defaultIdentityDescription(),
            )
+1 −2
Original line number Diff line number Diff line
@@ -32,8 +32,7 @@ class IdentitySettingsDescriptions {
                new V(1, new SignatureSetting())
        ));
        s.put("signatureUse", Settings.versions(
                new V(1, new BooleanSetting(true)),
                new V(68, new BooleanSetting(false))
                new V(1, new BooleanSetting(true))
        ));
        s.put("replyTo", Settings.versions(
                new V(1, new OptionalEmailAddressSetting())