mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Stop missed call notifications after import.
This commit is contained in:
committed by
Greyson Parrelli
parent
b937c9c69b
commit
48c088f36c
@@ -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(
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user