Backfill collapsible messages.

This commit is contained in:
Michelle Tang
2026-03-25 10:27:35 -04:00
committed by Cody Henthorne
parent 75df16e842
commit 4f260c2063
6 changed files with 188 additions and 7 deletions
@@ -49,6 +49,7 @@ import org.thoughtcrime.securesms.database.model.InAppPaymentSubscriberRecord
import org.thoughtcrime.securesms.database.model.MessageRecord
import org.thoughtcrime.securesms.dependencies.AppDependencies
import org.thoughtcrime.securesms.jobmanager.JobTracker
import org.thoughtcrime.securesms.jobs.BackfillCollapsedMessageJob
import org.thoughtcrime.securesms.jobs.CheckKeyTransparencyJob
import org.thoughtcrime.securesms.jobs.DownloadLatestEmojiDataJob
import org.thoughtcrime.securesms.jobs.EmojiSearchIndexDownloadJob
@@ -230,6 +231,16 @@ class InternalSettingsFragment : DSLSettingsFragment(R.string.preferences__inter
}
)
clickPref(
title = DSLSettingsText.from("Collapse chat updates"),
summary = DSLSettingsText.from("Collapses certain consecutive chat updates - cannot be undone."),
onClick = {
AppDependencies.jobManager.add(BackfillCollapsedMessageJob())
}
)
dividerPref()
sectionHeaderPref(DSLSettingsText.from("Playgrounds"))
clickPref(