From 116b6756647be20d7e2a13d67f7ab346e6612134 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 2 Feb 2025 21:44:08 -0600 Subject: [PATCH] Tag protocol from proxy tag --- src/storages/EventsDB.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storages/EventsDB.ts b/src/storages/EventsDB.ts index 4a0a0096..f79c0180 100644 --- a/src/storages/EventsDB.ts +++ b/src/storages/EventsDB.ts @@ -92,6 +92,8 @@ class EventsDB extends NPostgres { } } + ext.protocol = event.tags.find(([name]) => name === 'proxy')?.[2] ?? 'nostr'; + return ext; }