1
0
mirror of git://jb55.com/damus synced 2024-09-30 08:50:42 +00:00

reporting: don't use spam for every report

Changelog-Fixed: Fixed bug where `spam` was always the report type
This commit is contained in:
William Casarin 2023-01-27 09:36:37 -08:00
parent 196081cd38
commit b9c2473a2d

View File

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