diff --git a/src/admin/debug/commands.rs b/src/admin/debug/commands.rs index 93575ba11..8d80c3bb8 100644 --- a/src/admin/debug/commands.rs +++ b/src/admin/debug/commands.rs @@ -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, reset: bool) -> Result { let handles = &["console"]; diff --git a/src/admin/debug/mod.rs b/src/admin/debug/mod.rs index dcea15fcb..a49b8766f 100644 --- a/src/admin/debug/mod.rs +++ b/src/admin/debug/mod.rs @@ -16,10 +16,6 @@ pub enum DebugCommand { message: Vec, }, - /// 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.