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

as per dkg's comment in https://github.com/autocrypt/autocrypt/pull/376#discussion_r194886487
This commit is contained in:
Vincent Breitmoser 2018-11-29 14:05:45 +01:00
parent 29874cf99f
commit 213646d56c
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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