add k tag to gift wrap event

This commit is contained in:
Ren Amamiya
2026-04-10 09:34:24 +07:00
parent 6f0cefed33
commit 15ac8d6775

View File

@@ -602,7 +602,8 @@ async fn send_gift_wrap<T>(
where
T: NostrSigner + 'static,
{
let mut extra_tags = vec![];
let k_tag = Tag::custom(TagKind::k(), vec!["14"]);
let mut extra_tags = vec![k_tag];
// Determine the receiver public key based on the config
let receiver = match config {