diff --git a/src/main/java/eu/siacs/conversations/ui/fragment/settings/SecuritySettingsFragment.java b/src/main/java/eu/siacs/conversations/ui/fragment/settings/SecuritySettingsFragment.java index 0abe88838..2890db7ab 100644 --- a/src/main/java/eu/siacs/conversations/ui/fragment/settings/SecuritySettingsFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/fragment/settings/SecuritySettingsFragment.java @@ -73,6 +73,9 @@ public class SecuritySettingsFragment extends XmppPreferenceFragment { case AppSettings.REQUIRE_CHANNEL_BINDING -> { reconnectAccounts(); } + case AppSettings.AUTOMATIC_MESSAGE_DELETION -> { + requireService().expireOldMessages(true); + } } }