mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-20 23:30:25 +01:00
Skip processing backfill requests on linked devices.
This commit is contained in:
@@ -1680,6 +1680,11 @@ object SyncMessageProcessor {
|
||||
}
|
||||
|
||||
private fun handleSynchronizeAttachmentBackfillRequest(request: SyncMessage.AttachmentBackfillRequest, timestamp: Long) {
|
||||
if (SignalStore.account.isLinkedDevice) {
|
||||
log(timestamp, "[AttachmentBackfillRequest] Linked device ignores attachment backfill request.")
|
||||
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