frontend client for gemstone. decentralised workplace app
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: provide route through in message

serenity 68652f5f d7bbe2ba

+5
+1
src/lib/hooks/useChannel.ts
··· 96 96 content, 97 97 channel: channelStringified, 98 98 sentBy: oAuthSession.did, 99 + routedThrough: sessionInfo.latticeDid, 99 100 }, 100 101 socket, 101 102 );
+1
src/lib/types/messages.ts
··· 19 19 channel: z.string(), 20 20 content: z.string(), 21 21 sentBy: didSchema, 22 + routedThrough: didSchema, 22 23 sentAt: z.coerce.date(), 23 24 }) 24 25 .strict();
+3
src/lib/utils/messages.ts
··· 7 7 content, 8 8 channel, 9 9 sentBy, 10 + routedThrough 10 11 }: { 11 12 sessionToken: string; 12 13 content: string; 13 14 channel: string; 14 15 sentBy: Did; 16 + routedThrough: Did, 15 17 }, 16 18 latticeSocket: WebSocket, 17 19 ) => { ··· 21 23 content, 22 24 channel, 23 25 sentBy, 26 + routedThrough, 24 27 sentAt: new Date(), 25 28 }; 26 29 if (latticeSocket.readyState === WebSocket.OPEN)