diff --git a/public/channels.js b/public/channels.js index 1a06674d..0027a5ed 100644 --- a/public/channels.js +++ b/public/channels.js @@ -398,7 +398,7 @@
${displayText}
-
${meta.join(' · ')}
+
${meta.join(' · ')}${msg.packetId ? ` · View packet →` : ''}
`; }).join(''); diff --git a/server.js b/server.js index c8310a6c..e16493a3 100644 --- a/server.js +++ b/server.js @@ -994,6 +994,7 @@ app.get('/api/channels/:hash/messages', (req, res) => { encrypted: !decoded.text && !decoded.sender, timestamp: pkt.timestamp, sender_timestamp: decoded.sender_timestamp || null, + packetId: pkt.id, repeats: 1, observers: [pkt.observer_name || pkt.observer_id].filter(Boolean), hops: decoded.path_len || (pkt.path_json ? JSON.parse(pkt.path_json).length : 0),