Add missing pathing information to frontend

This commit is contained in:
Jack Kingsman
2026-01-18 14:17:49 -08:00
parent b13af6433d
commit 13220c4a8f
19 changed files with 281 additions and 40 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ function createLocalMessage(conversationKey: string, text: string, outgoing: boo
text,
sender_timestamp: now,
received_at: now,
path_len: null,
path: null,
txt_type: 0,
signature: null,
outgoing,
+1 -1
View File
@@ -99,7 +99,7 @@ function createLocalMessage(
text,
sender_timestamp: now,
received_at: now,
path_len: null,
path: null,
txt_type: 0,
signature: null,
outgoing,
+2 -2
View File
@@ -268,7 +268,7 @@ describe('Integration: ACK Events', () => {
text: 'Hello',
sender_timestamp: 1700000000,
received_at: 1700000000,
path_len: null,
path: null,
txt_type: 0,
signature: null,
outgoing: true,
@@ -301,7 +301,7 @@ describe('Integration: ACK Events', () => {
text: 'Hello',
sender_timestamp: 1700000000,
received_at: 1700000000,
path_len: null,
path: null,
txt_type: 0,
signature: null,
outgoing: true,
+1 -1
View File
@@ -72,7 +72,7 @@ describe('shouldIncrementUnread', () => {
text: 'Test',
sender_timestamp: null,
received_at: Date.now(),
path_len: null,
path: null,
txt_type: 0,
signature: null,
outgoing: false,
@@ -16,7 +16,7 @@ function createMessage(overrides: Partial<Message> = {}): Message {
text: 'Hello world',
sender_timestamp: 1700000000,
received_at: 1700000001,
path_len: null,
path: null,
txt_type: 0,
signature: null,
outgoing: false,
+2 -1
View File
@@ -82,7 +82,8 @@ export interface Message {
text: string;
sender_timestamp: number | null;
received_at: number;
path_len: number | null;
/** Hex-encoded routing path (2 chars per hop). Null for outgoing messages. */
path: string | null;
txt_type: number;
signature: string | null;
outgoing: boolean;