commit 713effdc35e2707cc5e163753493593806d023fb
parent 00dde48f97870c40aa1390a43d3b38e2a65ed5ce
Author: William Casarin <jb55@jb55.com>
Date: Mon, 16 May 2022 11:28:21 -0700
remove duplicate boost
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git 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)