diff --git a/src/app/features/settings/general/General.tsx b/src/app/features/settings/general/General.tsx
index 5e5f76ae..fd0d9d70 100644
--- a/src/app/features/settings/general/General.tsx
+++ b/src/app/features/settings/general/General.tsx
@@ -385,6 +385,16 @@ function SelectDateFormat() {
);
}
+function getTombstoneSettingToggleTitle(showHidden: boolean, showTombstone: boolean): string {
+ if (showHidden) {
+ return 'Tombstone events are always shown when "Show Hidden Events" is enabled.';
+ }
+ if (showTombstone) {
+ return 'Disable to hide redacted messages entirely instead of showing a tombstone.';
+ }
+ return 'Enable to show tombstone events for redacted messages instead of hiding them entirely.';
+}
+
function DateAndTime() {
const [hour24Clock, setHour24Clock] = useSetting(settingsAtom, 'hour24Clock');
@@ -928,7 +938,16 @@ function Messages() {
+
}
/>
@@ -940,6 +959,8 @@ function Messages() {
variant="Primary"
value={showTombstoneEvents || showHiddenEvents}
onChange={setShowTombstoneEvents}
+ disabled={showHiddenEvents}
+ title={getTombstoneSettingToggleTitle(showHiddenEvents, showTombstoneEvents)}
/>
}
/>