Stop missed call notifications after import.

This commit is contained in:
Michelle Tang
2025-01-29 11:53:54 -05:00
committed by Greyson Parrelli
parent b937c9c69b
commit 48c088f36c
2 changed files with 2 additions and 6 deletions

View File

@@ -128,7 +128,8 @@ class ChatItemArchiveImporter(
MessageTable.MESSAGE_EXTRAS,
MessageTable.ORIGINAL_MESSAGE_ID,
MessageTable.LATEST_REVISION_ID,
MessageTable.PARENT_STORY_ID
MessageTable.PARENT_STORY_ID,
MessageTable.NOTIFIED
)
private val REACTION_COLUMNS = arrayOf(

View File

@@ -24,7 +24,6 @@ import org.thoughtcrime.securesms.jobmanager.impl.RestoreAttachmentConstraint
import org.thoughtcrime.securesms.jobs.protos.RestoreAttachmentJobData
import org.thoughtcrime.securesms.keyvalue.SignalStore
import org.thoughtcrime.securesms.mms.MmsException
import org.thoughtcrime.securesms.notifications.v2.ConversationId.Companion.forConversation
import org.thoughtcrime.securesms.transport.RetryLaterException
import org.thoughtcrime.securesms.util.RemoteConfig
import org.whispersystems.signalservice.api.backup.MediaName
@@ -140,10 +139,6 @@ class RestoreAttachmentJob private constructor(
throw e
}
}
if (!SignalDatabase.messages.isStory(messageId)) {
AppDependencies.messageNotifier.updateNotification(context, forConversation(0))
}
}
@Throws(IOException::class, RetryLaterException::class)