From 713effdc35e2707cc5e163753493593806d023fb Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 16 May 2022 11:28:21 -0700 Subject: [PATCH] remove duplicate boost Signed-off-by: William Casarin --- damus/ContentView.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/damus/ContentView.swift b/damus/ContentView.swift index d61be59..dc1fb94 100644 --- a/damus/ContentView.swift +++ b/damus/ContentView.swift @@ -276,11 +276,6 @@ struct ContentView: View { let ev = notif.object as! NostrEvent self.active_sheet = .reply(ev) } - .onReceive(handle_notify(.boost)) { boost in - let ev = boost.object as! NostrEvent - let boost_ev = make_boost_event(pubkey: pubkey, privkey: privkey, boosted: ev) - self.damus_state?.pool.send(.event(boost_ev)) - } .onReceive(handle_notify(.like)) { like in let ev = like.object as! NostrEvent let like_ev = make_like_event(pubkey: pubkey, privkey: privkey, liked: ev)