mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Inline the attachment backfill flag.
This commit is contained in:
committed by
Cody Henthorne
parent
0dfe71ca8f
commit
c4131bb440
@@ -98,7 +98,6 @@ import org.thoughtcrime.securesms.util.EarlyMessageCacheEntry
|
||||
import org.thoughtcrime.securesms.util.IdentityUtil
|
||||
import org.thoughtcrime.securesms.util.MediaUtil
|
||||
import org.thoughtcrime.securesms.util.MessageConstraintsUtil
|
||||
import org.thoughtcrime.securesms.util.RemoteConfig
|
||||
import org.thoughtcrime.securesms.util.SignalE164Util
|
||||
import org.thoughtcrime.securesms.util.TextSecurePreferences
|
||||
import org.thoughtcrime.securesms.util.Util
|
||||
@@ -1655,11 +1654,6 @@ object SyncMessageProcessor {
|
||||
}
|
||||
|
||||
private fun handleSynchronizeAttachmentBackfillRequest(request: SyncMessage.AttachmentBackfillRequest, timestamp: Long) {
|
||||
if (!RemoteConfig.attachmentBackfillSync) {
|
||||
warn(timestamp, "[AttachmentBackfillRequest] Remote config not enabled! Skipping.")
|
||||
return
|
||||
}
|
||||
|
||||
if (request.targetMessage == null || request.targetConversation == null) {
|
||||
warn(timestamp, "[AttachmentBackfillRequest] Target message or target conversation was unset! Can't formulate a response, ignoring.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user