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.
1 parent 61258e8 commit 8a6cc7bCopy full SHA for 8a6cc7b
crates/matrix-sdk/src/room/mod.rs
@@ -3009,7 +3009,11 @@ impl Room {
3009
let power_levels = match self.power_levels().await {
3010
Ok(power_levels) => Some(power_levels.into()),
3011
Err(error) => {
3012
- error!("Could not compute power levels for push conditions: {error}");
+ if matches!(room_info.state(), RoomState::Joined) {
3013
+ // It's normal to not have the power levels in a non-joined room, so don't log
3014
+ // the error if the room is not joined
3015
+ error!("Could not compute power levels for push conditions: {error}");
3016
+ }
3017
None
3018
}
3019
};
0 commit comments