eventdetails: only add our events
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -69,7 +69,9 @@ struct EventDetailView: View {
|
|||||||
case .nostr_event(let res):
|
case .nostr_event(let res):
|
||||||
switch res {
|
switch res {
|
||||||
case .event(let sub_id, let ev):
|
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):
|
case .notice(let note):
|
||||||
if note.contains("Too many subscription filters") {
|
if note.contains("Too many subscription filters") {
|
||||||
|
|||||||
Reference in New Issue
Block a user