We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 015df0a commit d73ecb3Copy full SHA for d73ecb3
1 file changed
crates/ruma-common/src/push/condition.rs
@@ -368,8 +368,8 @@ impl PushConditionRoomCtx {
368
}
369
370
/// Add the given power levels context to this `PushConditionRoomCtx`.
371
- pub fn with_power_levels(self, power_levels: PushConditionPowerLevelsCtx) -> Self {
372
- Self { power_levels: Some(power_levels), ..self }
+ pub fn with_power_levels(self, power_levels: Option<PushConditionPowerLevelsCtx>) -> Self {
+ Self { power_levels, ..self }
373
374
375
0 commit comments