damus

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

commit 392af009f86810a476d67afcf23a9fcbba715b1a
parent a6a275d90b8b0fbbd37d29bd6e118ac0123a8985
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 17 Apr 2022 14:24:41 -0700

eventdetails: only add our events

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/EventDetailView.swift | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/damus/Views/EventDetailView.swift b/damus/Views/EventDetailView.swift @@ -69,7 +69,9 @@ struct EventDetailView: View { case .nostr_event(let res): switch res { case .event(let sub_id, let ev): - add_event(ev: ev) + if sub_id == self.sub_id { + add_event(ev: ev) + } case .notice(let note): if note.contains("Too many subscription filters") {