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:
parent
8b9958a4ad
commit
9f52e2c246
@ -835,7 +835,7 @@ func first_eref_mention(ev: NostrEvent, privkey: String?) -> Mention? {
|
|||||||
extension [ReferencedId] {
|
extension [ReferencedId] {
|
||||||
var pRefs: [ReferencedId] {
|
var pRefs: [ReferencedId] {
|
||||||
get {
|
get {
|
||||||
self.filter { ref in
|
Set(self).filter { ref in
|
||||||
ref.key == "p"
|
ref.key == "p"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user