1
0
mirror of git://jb55.com/damus synced 2024-09-18 19:23:49 +00:00

eventdetails: only add our events

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2022-04-17 14:24:41 -07:00
parent a6a275d90b
commit 392af009f8

View File

@ -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") {