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:
parent
29874cf99f
commit
213646d56c
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue