diff --git a/crates/matrix-sdk/src/room/mod.rs b/crates/matrix-sdk/src/room/mod.rs index d6a4624ecff..420aaf8eb5d 100644 --- a/crates/matrix-sdk/src/room/mod.rs +++ b/crates/matrix-sdk/src/room/mod.rs @@ -2163,16 +2163,6 @@ impl Room { Ok(()) } - /// Get the current power levels of this room. - pub async fn room_power_levels(&self) -> Result { - Ok(self - .get_state_event_static::() - .await? - .ok_or(Error::InsufficientData)? - .deserialize()? - .power_levels()) - } - /// Resets the room's power levels to the default values /// /// [spec]: https://spec.matrix.org/v1.9/client-server-api/#mroompower_levels