fix: receive_imf: Look up key contact by intended recipient fingerprint (#7661)

For now, do this only for `OneOneChat` and `MailingListOrBroadcast`, this is enough to correctly
support messages from modern Delta Chat versions sending Intended Recipient Fingerprint subpackets
and single-recipient messages from modern versions of other MUAs.
This commit is contained in:
iequidoo
2026-01-28 07:52:06 -03:00
committed by iequidoo
parent cbd379fdf0
commit 61a8eff2ad
4 changed files with 61 additions and 11 deletions

View File

@@ -117,6 +117,8 @@ impl TestContextManager {
.await
}
/// Returns new elena's "device".
/// Elena doesn't send Intended Recipient Fingerprint subpackets to simulate old Delta Chat.
pub async fn elena(&mut self) -> TestContext {
TestContext::builder()
.configure_elena()