From 7f5bd3960c593cc471b09c74669187a8616a4f02 Mon Sep 17 00:00:00 2001 From: mleku Date: Tue, 21 Oct 2025 20:05:45 +0100 Subject: [PATCH] Update user tagging in payment processor and bump version to v0.17.11 - Modified the user tagging logic in the payment processor to include a mention in the third field of the "p" tag. - Incremented the version number to v0.17.11 for the release. --- app/payment_processor.go | 4 ++-- pkg/version/version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/payment_processor.go b/app/payment_processor.go index 3e3c32e..5327616 100644 --- a/app/payment_processor.go +++ b/app/payment_processor.go @@ -781,8 +781,8 @@ Enjoy your time on the relay!`, string(userNpub), monthlyPrice, monthlyPrice, ev.Content = []byte(content) ev.Tags = tag.NewS() - // Add "p" tag for the user - *ev.Tags = append(*ev.Tags, tag.NewFromAny("p", hex.Enc(userPubkey))) + // Add "p" tag for the user with mention in third field + *ev.Tags = append(*ev.Tags, tag.NewFromAny("p", hex.Enc(userPubkey), "", "mention")) // Add expiration tag (5 days from creation) noteExpiry := time.Now().AddDate(0, 0, 5) diff --git a/pkg/version/version b/pkg/version/version index d356925..1c00929 100644 --- a/pkg/version/version +++ b/pkg/version/version @@ -1 +1 @@ -v0.17.10 \ No newline at end of file +v0.17.11 \ No newline at end of file