commit b9c2473a2dd56616f0605964c0eef9e19c6570d9
parent 196081cd38f573e5df2a264720a60dea78dd2f15
Author: William Casarin <jb55@jb55.com>
Date: Fri, 27 Jan 2023 09:36:37 -0800
reporting: don't use spam for every report
Changelog-Fixed: Fixed bug where `spam` was always the report type
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Views/ReportView.swift b/damus/Views/ReportView.swift
@@ -44,7 +44,7 @@ struct ReportView: View {
}
func do_send_report(type: ReportType) {
- guard let ev = send_report(privkey: privkey, pool: pool, target: target, type: .spam) else {
+ guard let ev = send_report(privkey: privkey, pool: pool, target: target, type: type) else {
return
}