damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 2aee84c65fa8f63e5a63a83f84cbf5263bf310b8
parent 76c6ac0f0b4163c4b0e7ec483cd6571689cb728e
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 28 Apr 2023 17:42:50 -0700

Add q tag to quote renotes

Changelog-Added: Add q tag to quoted renotes

Diffstat:
Mdamus/Nostr/NostrEvent.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Nostr/NostrEvent.swift b/damus/Nostr/NostrEvent.swift @@ -767,7 +767,7 @@ func gather_reply_ids(our_pubkey: String, from: NostrEvent) -> [ReferencedId] { } func gather_quote_ids(our_pubkey: String, from: NostrEvent) -> [ReferencedId] { - var ids: [ReferencedId] = [] + var ids: [ReferencedId] = [.q(from.id)] if from.pubkey != our_pubkey { ids.append(ReferencedId(ref_id: from.pubkey, relay_id: nil, key: "p")) }