Fix Identical Participants in ParticipantView
Changelog-Fixed: Fix duplicated participants in reply-to view Closes: #685
This commit is contained in:
committed by
William Casarin
parent
8b9958a4ad
commit
9f52e2c246
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user