feat: log when late Autocrypt header is ignored

This commit is contained in:
link2xt
2024-10-18 02:45:01 +00:00
parent 864833d232
commit 5e13b4c736
2 changed files with 15 additions and 6 deletions

View File

@@ -313,7 +313,7 @@ pub(crate) async fn get_autocrypt_peerstate(
if let Some(ref mut peerstate) = peerstate {
if addr_cmp(&peerstate.addr, from) {
if allow_change {
peerstate.apply_header(header, message_time);
peerstate.apply_header(context, header, message_time);
peerstate.save_to_db(&context.sql).await?;
} else {
info!(