commit 9f52e2c2469cb875308d71c7acc9a1c2d84eff1c
parent 8b9958a4ad0abf90ab4818381a66992a36c47de6
Author: Joel Klabo <joelklabo@gmail.com>
Date: Thu, 23 Feb 2023 11:11:46 -0800
Fix Identical Participants in ParticipantView
Changelog-Fixed: Fix duplicated participants in reply-to view
Closes: #685
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Nostr/NostrEvent.swift b/damus/Nostr/NostrEvent.swift
@@ -835,7 +835,7 @@ func first_eref_mention(ev: NostrEvent, privkey: String?) -> Mention? {
extension [ReferencedId] {
var pRefs: [ReferencedId] {
get {
- self.filter { ref in
+ Set(self).filter { ref in
ref.key == "p"
}
}