feat: Remove force-device-list-updates

This command has not been useful since conduwuit 0.4.6 or so
This commit is contained in:
timedout committed 2026-11-01 04:54:39 +00:00
1 parent bdc06d8135
commit 7577c9f001
2 files changed
-15

No files matched your search

-11
View File
@@ -27,17 +27,6 @@ impl crate::Context<'_> {
self.write_str(&message).await
}
pub(super) async fn force_device_list_updates(&self) -> Result {
// Force E2EE device list updates for all users
self.services
.users
.stream_local_users()
.for_each(async |user_id| self.services.users.mark_device_key_update(&user_id).await)
.await;
write!(self, "Marked all devices for all users as having new keys to update").await
}
pub(super) async fn change_log_level(&self, filter: Option<String>, reset: bool) -> Result {
let handles = &["console"];
-4
View File
@@ -16,10 +16,6 @@ pub enum DebugCommand {
message: Vec<String>,
},
/// Forces device lists for all local and remote users to be updated (as
/// having new keys available)
ForceDeviceListUpdates,
/// Change tracing log level/filter on the fly
///
/// This accepts the same format as the `log` config option.