Use null when submitting empty reporting tokens.

Cleaned up a few things too, just spacing and stuff.
This commit is contained in:
Greyson Parrelli
2023-02-22 10:44:29 -05:00
parent 3ebafca297
commit 263fb9fc04
3 changed files with 10 additions and 10 deletions

View File

@@ -2,4 +2,4 @@ package org.whispersystems.signalservice.internal.push
import com.fasterxml.jackson.annotation.JsonProperty
data class SpamTokenMessage(@JsonProperty val token: String)
data class SpamTokenMessage(@JsonProperty val token: String?)