Reword log

This commit is contained in:
nielsandriesse 2020-10-27 10:15:15 +11:00
parent e005fbf282
commit 5d3c495f63

View File

@ -51,7 +51,7 @@ class BackgroundPollJob private constructor(parameters: Parameters) : BaseJob(pa
val userPublicKey = TextSecurePreferences.getLocalNumber(context) val userPublicKey = TextSecurePreferences.getLocalNumber(context)
val promises = mutableListOf<Promise<Unit, Exception>>() val promises = mutableListOf<Promise<Unit, Exception>>()
if (!TextSecurePreferences.isUsingFCM(context)) { if (!TextSecurePreferences.isUsingFCM(context)) {
Log.d("Loki", "Not using FCM, poll for contacts and closed groups.") Log.d("Loki", "Not using FCM; polling for contacts and closed groups.")
val promise = SnodeAPI.shared.getMessages(userPublicKey).map { envelopes -> val promise = SnodeAPI.shared.getMessages(userPublicKey).map { envelopes ->
envelopes.forEach { envelopes.forEach {
PushContentReceiveJob(context).processEnvelope(SignalServiceEnvelope(it), false) PushContentReceiveJob(context).processEnvelope(SignalServiceEnvelope(it), false)