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

Commit 213646d5 authored by Vincent Breitmoser's avatar Vincent Breitmoser
Browse files

rename _is-reply attribute to _is-reply-to-encrypted

parent 29874cf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ data class AutocryptDraftStateHeader(val isEncrypt: Boolean,

        const val PARAM_ENCRYPT = "encrypt"

        const val PARAM_IS_REPLY = "_is-reply"
        const val PARAM_IS_REPLY = "_is-reply-to-encrypted"
        const val PARAM_BY_CHOICE = "_by-choice"
        const val PARAM_PGP_INLINE = "_pgp-inline"
        const val PARAM_SIGN_ONLY = "_sign-only"
+1 −1
Original line number Diff line number Diff line
@@ -336,7 +336,7 @@ class PgpMessageBuilderTest : K9RobolectricTest() {

        val mimeMessage = buildMessage()

        assertEquals("encrypt=yes; _is-reply=yes; ", mimeMessage.getHeader("Autocrypt-Draft-State").get(0))
        assertEquals("encrypt=yes; _is-reply-to-encrypted=yes; ", mimeMessage.getHeader("Autocrypt-Draft-State").get(0))
    }

    @Test