Make reposts use postbox

This commit is contained in:
William Casarin
2023-04-14 11:45:53 -07:00
parent a4d4954abd
commit b5faae9d1c

View File

@@ -568,7 +568,7 @@ struct ContentView: View {
} }
Button(NSLocalizedString("Repost", comment: "Button to confirm reposting a post.")) { Button(NSLocalizedString("Repost", comment: "Button to confirm reposting a post.")) {
if let current_boost { if let current_boost {
self.damus_state?.pool.send(.event(current_boost)) self.damus_state?.postbox.send(current_boost)
} }
} }
} message: { } message: {