Add q tag to quote renotes
Changelog-Added: Add q tag to quoted renotes
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user