Tag protocol from proxy tag

This commit is contained in:
Alex Gleason 2025-02-02 21:44:08 -06:00
parent 70f8698e33
commit 116b675664
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -92,6 +92,8 @@ class EventsDB extends NPostgres {
} }
} }
ext.protocol = event.tags.find(([name]) => name === 'proxy')?.[2] ?? 'nostr';
return ext; return ext;
} }