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

profile: don't notify on notice

this is just a waste of cpu at this point and could cause main thread
blocking issues
This commit is contained in:
William Casarin 2023-07-30 07:19:03 -07:00
parent 480921db20
commit 1463ce5e3a

View File

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