trigger message deletion after toggling setting

This commit is contained in:
Daniel Gultsch 2024-04-09 10:42:44 +02:00
parent 0e4fd163f2
commit 0ec46d1d34
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2

View file

@ -73,6 +73,9 @@ public class SecuritySettingsFragment extends XmppPreferenceFragment {
case AppSettings.REQUIRE_CHANNEL_BINDING -> {
reconnectAccounts();
}
case AppSettings.AUTOMATIC_MESSAGE_DELETION -> {
requireService().expireOldMessages(true);
}
}
}