Adds Malware Report type

This commit is contained in:
Vitor Pamplona
2024-07-02 17:30:03 -04:00
parent 01816b0389
commit 7519fc2f10
5 changed files with 18 additions and 6 deletions
@@ -25,7 +25,10 @@ import com.vitorpamplona.quartz.encoders.HexKey
import com.vitorpamplona.quartz.signers.NostrSigner
import com.vitorpamplona.quartz.utils.TimeUtils
@Immutable data class ReportedKey(val key: String, val reportType: ReportEvent.ReportType)
@Immutable data class ReportedKey(
val key: String,
val reportType: ReportEvent.ReportType,
)
// NIP 56 event.
@Immutable
@@ -119,13 +122,14 @@ class ReportEvent(
}
}
enum class ReportType() {
enum class ReportType {
EXPLICIT, // Not used anymore.
ILLEGAL,
SPAM,
IMPERSONATION,
NUDITY,
PROFANITY,
MALWARE,
OTHER,
}
}