commit 1463ce5e3a185fb5b3bb9c03650982e2522264be
parent 480921db20b1dc4ada8a43c4088f54e4fd173bb8
Author: William Casarin <jb55@jb55.com>
Date: Sun, 30 Jul 2023 07:19:03 -0700
profile: don't notify on notice
this is just a waste of cpu at this point and could cause main thread
blocking issues
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/damus/Models/ProfileModel.swift b/damus/Models/ProfileModel.swift
@@ -130,8 +130,9 @@ class ProfileModel: ObservableObject, Equatable {
break
case .event(_, let ev):
add_event(ev)
- case .notice(let notice):
- notify(.notice, notice)
+ case .notice:
+ break
+ //notify(.notice, notice)
case .eose:
if resp.subid == sub_id {
load_profiles(profiles_subid: prof_subid, relay_id: relay_id, load: .from_events(events.events), damus_state: damus)