We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sdk::Room::room_power_levels
1 parent c143f98 commit 0353583Copy full SHA for 0353583
crates/matrix-sdk/src/room/mod.rs
@@ -2163,16 +2163,6 @@ impl Room {
2163
Ok(())
2164
}
2165
2166
- /// Get the current power levels of this room.
2167
- pub async fn room_power_levels(&self) -> Result<RoomPowerLevels> {
2168
- Ok(self
2169
- .get_state_event_static::<RoomPowerLevelsEventContent>()
2170
- .await?
2171
- .ok_or(Error::InsufficientData)?
2172
- .deserialize()?
2173
- .power_levels())
2174
- }
2175
-
2176
/// Resets the room's power levels to the default values
2177
///
2178
/// [spec]: https://spec.matrix.org/v1.9/client-server-api/#mroompower_levels
0 commit comments