From 7b7479655879b644ebe83bf0e28a79c4e2544503 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Wed, 30 Sep 2020 10:54:02 +1000 Subject: [PATCH] Fix job name inconsistencies --- .../thoughtcrime/securesms/loki/protocol/NullMessageSendJob.kt | 2 +- .../securesms/loki/protocol/SessionRequestMessageSendJob.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/loki/protocol/NullMessageSendJob.kt b/src/org/thoughtcrime/securesms/loki/protocol/NullMessageSendJob.kt index 7983ecfbbd..bac204561f 100644 --- a/src/org/thoughtcrime/securesms/loki/protocol/NullMessageSendJob.kt +++ b/src/org/thoughtcrime/securesms/loki/protocol/NullMessageSendJob.kt @@ -21,7 +21,7 @@ import java.util.concurrent.TimeUnit class NullMessageSendJob private constructor(parameters: Parameters, private val publicKey: String) : BaseJob(parameters) { companion object { - const val KEY = "PushNullMessageSendJob" + const val KEY = "NullMessageSendJob" } constructor(publicKey: String) : this(Parameters.Builder() diff --git a/src/org/thoughtcrime/securesms/loki/protocol/SessionRequestMessageSendJob.kt b/src/org/thoughtcrime/securesms/loki/protocol/SessionRequestMessageSendJob.kt index 5e2758d8bd..f7785edf9b 100644 --- a/src/org/thoughtcrime/securesms/loki/protocol/SessionRequestMessageSendJob.kt +++ b/src/org/thoughtcrime/securesms/loki/protocol/SessionRequestMessageSendJob.kt @@ -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) { companion object { - const val KEY = "PushSessionRequestMessageSendJob" + const val KEY = "SessionRequestMessageSendJob" } constructor(publicKey: String, timestamp: Long) : this(Parameters.Builder()