1
0
mirror of git://jb55.com/damus synced 2024-10-06 19:53:22 +00:00

Fix Identical Participants in ParticipantView

Changelog-Fixed: Fix duplicated participants in reply-to view
Closes: #685
This commit is contained in:
Joel Klabo 2023-02-23 11:11:46 -08:00 committed by William Casarin
parent 8b9958a4ad
commit 9f52e2c246

View File

@ -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"
}
}