Make broadcast timestamp match fallback logic used for storage

This commit is contained in:
Jack Kingsman
2026-02-16 18:34:20 -08:00
parent cbe091ad90
commit d2f5bd84a8

View File

@@ -131,7 +131,7 @@ async def on_contact_message(event: "Event") -> None:
"type": "PRIV",
"conversation_key": sender_pubkey,
"text": payload.get("text", ""),
"sender_timestamp": payload.get("sender_timestamp"),
"sender_timestamp": payload.get("sender_timestamp") or received_at,
"received_at": received_at,
"paths": paths,
"txt_type": txt_type,