Fix job name inconsistencies

This commit is contained in:
nielsandriesse 2020-09-30 10:54:02 +10:00
parent cd7197bfbd
commit 7b74796558
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ import java.util.concurrent.TimeUnit
class NullMessageSendJob private constructor(parameters: Parameters, private val publicKey: String) : BaseJob(parameters) { class NullMessageSendJob private constructor(parameters: Parameters, private val publicKey: String) : BaseJob(parameters) {
companion object { companion object {
const val KEY = "PushNullMessageSendJob" const val KEY = "NullMessageSendJob"
} }
constructor(publicKey: String) : this(Parameters.Builder() constructor(publicKey: String) : this(Parameters.Builder()

View File

@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit
class SessionRequestMessageSendJob private constructor(parameters: Parameters, private val publicKey: String, private val timestamp: Long) : BaseJob(parameters) { class SessionRequestMessageSendJob private constructor(parameters: Parameters, private val publicKey: String, private val timestamp: Long) : BaseJob(parameters) {
companion object { companion object {
const val KEY = "PushSessionRequestMessageSendJob" const val KEY = "SessionRequestMessageSendJob"
} }
constructor(publicKey: String, timestamp: Long) : this(Parameters.Builder() constructor(publicKey: String, timestamp: Long) : this(Parameters.Builder()