feat: add core version to receive_imf failure message

This commit is contained in:
link2xt
2025-12-17 23:46:29 +00:00
committed by l
parent b1883c802b
commit fd90493766
2 changed files with 4 additions and 2 deletions

View File

@@ -340,9 +340,11 @@ def test_receive_imf_failure(acfactory) -> None:
msg_id = event.msg_id
message = bob.get_message_by_id(msg_id)
snapshot = message.get_snapshot()
version = bob.get_info()["deltachat_core_version"]
assert (
snapshot.text == "❌ Failed to receive a message:"
" Condition failed: `!context.get_config_bool(Config::FailOnReceivingFullMsg).await?`."
f" Core version {version}."
" Please report this bug to delta@merlinux.eu or https://support.delta.chat/."
)