damus

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

commit d6d996e84b87cb881c7e248a2e8fa3989d71107a
parent d1fce5054ded058958baf27cb0c25a7191cc01cf
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 18 Apr 2023 12:38:16 -0700

Don't create spiral hellthreads

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

diff --git a/damus/Nostr/NostrEvent.swift b/damus/Nostr/NostrEvent.swift @@ -748,7 +748,6 @@ func gather_reply_ids(our_pubkey: String, from: NostrEvent) -> [ReferencedId] { func gather_quote_ids(our_pubkey: String, from: NostrEvent) -> [ReferencedId] { var ids: [ReferencedId] = [] - ids.append(contentsOf: uniq(from.referenced_pubkeys.filter { $0.ref_id != our_pubkey })) if from.pubkey != our_pubkey { ids.append(ReferencedId(ref_id: from.pubkey, relay_id: nil, key: "p")) }