'q' tag should omit marker per NIP-18

This commit is contained in:
Alex Gleason 2024-11-30 13:13:54 -06:00
parent f576e45c58
commit cd95c38eec
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -114,7 +114,7 @@ const createStatusController: AppController = async (c) => {
return c.json({ error: 'Quoted post not found.' }, 404); return c.json({ error: 'Quoted post not found.' }, 404);
} }
tags.push(['q', quoted.id, Conf.relay, '', quoted.pubkey]); tags.push(['q', quoted.id, Conf.relay, quoted.pubkey]);
} }
if (data.sensitive && data.spoiler_text) { if (data.sensitive && data.spoiler_text) {