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; }