Add contentHint and groupId fields to UnidentifiedSenderMessageContent

And to the ProtocolExceptions for Java, thrown when a sealed sender
message's content fails to decrypt. (Eventually all languages will
support this.)
This commit is contained in:
Jordan Rose
2021-03-26 10:38:50 -07:00
parent 2b13ab648a
commit 690dfde027
31 changed files with 512 additions and 46 deletions

View File

@@ -140,6 +140,6 @@ pub unsafe extern "C" fn signal_sealed_session_cipher_decrypt(
write_optional_cstr_to(sender_e164, Ok(decrypted.sender_e164))?;
write_cstr_to(sender_uuid, Ok(decrypted.sender_uuid))?;
write_result_to(sender_device_id, decrypted.device_id)?;
write_bytearray_to(out, out_len, decrypted.message)
write_bytearray_to(out, out_len, Some(decrypted.message))
})
}