Forward whole message to FE on resend so the browser updates

This commit is contained in:
Jack Kingsman
2026-03-13 21:57:19 -07:00
parent f41c7756d3
commit 39a687da58
8 changed files with 149 additions and 6 deletions
+5
View File
@@ -766,6 +766,11 @@ class TestResendChannelMessage:
assert result["message_id"] != msg_id
resent = await MessageRepository.get_by_id(result["message_id"])
assert resent is not None
assert result["message"].id == resent.id
assert result["message"].conversation_key == resent.conversation_key
assert result["message"].text == resent.text
assert result["message"].sender_timestamp == resent.sender_timestamp
assert result["message"].outgoing is True
assert resent.sender_timestamp == now + 1
assert resent.received_at == now
sent_timestamp = int.from_bytes(