summaryrefslogtreecommitdiff
path: root/gui/src/logic/nostrill.ts
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-11-18 08:32:45 +0700
committerpolwex <polwex@sortug.com>2025-11-18 08:32:45 +0700
commit7706acaafa89691dba33c216e6287a8405c4c302 (patch)
tree504d49fd289c6f4f6f5494395ddd4089a057efc9 /gui/src/logic/nostrill.ts
parentb3379cc108d6eed98cb0010e6f1ddca94aba83a2 (diff)
gui fixes to nostr post rendering, added nostr-tools lib for primal compatibility
Diffstat (limited to 'gui/src/logic/nostrill.ts')
-rw-r--r--gui/src/logic/nostrill.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/src/logic/nostrill.ts b/gui/src/logic/nostrill.ts
index bd5fc9c..97d2156 100644
--- a/gui/src/logic/nostrill.ts
+++ b/gui/src/logic/nostrill.ts
@@ -36,12 +36,13 @@ export function eventToPoast(event: Event): Poast | null {
time: ts,
engagement: engagementBunt,
children: [],
+ event,
};
for (const tag of event.tags) {
const f = tag[0];
if (!f) continue;
const ff = f.toLowerCase();
- console.log("tag", ff);
+ // console.log("tag", ff);
if (ff === "e") {
const [, eventId, _relayURL, marker, _pubkey, ..._] = tag;
// TODO