What is Nostr?
Martti Malmi /
npub1g53…drvk
2023-01-26 06:58:34

Martti Malmi on Nostr: Iris boosts are broken. Trying to fix, but somehow this code outputs an event with ...

Iris boosts are broken. Trying to fix, but somehow this code outputs an event with the tags array in wrong order so that #[ 0 ] refers to 'p' tag, not 'e'.

Nostr.publish({
kind: 1,
tags: [
['e', nostrId, '', 'mention'],
['p', author],
],
content: '#[0]',
});
Author Public Key
npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk