Currently if someone embeds a zap kind 9735 in a note using the nostr:nevent1... encoding, a note embed card is rendered but there is no information about the zap.
This PR is a simple improvement that adds the zap amount by parsing it from the embedded description tag in the zap.
The sender pubkey is also available so the sender profile could be rendered as well - although I was unsure how to get the PrimalUser class from the sender pubkey.
Currently if someone embeds a zap kind 9735 in a note using the
nostr:nevent1...
encoding, a note embed card is rendered but there is no information about the zap.This PR is a simple improvement that adds the zap amount by parsing it from the embedded
description
tag in the zap.The sender pubkey is also available so the sender profile could be rendered as well - although I was unsure how to get the
PrimalUser
class from the sender pubkey.Before
After