diff --git a/ruma-common/src/push.rs b/ruma-common/src/push.rs index fae24e41..92200a7e 100644 --- a/ruma-common/src/push.rs +++ b/ruma-common/src/push.rs @@ -108,10 +108,10 @@ impl Iterator for RulesetIter { type Item = AnyPushRule; fn next(&mut self) -> Option { - self.content + self.override_ .next() .map(|x| x.0.into()) - .or_else(|| self.override_.next().map(|x| x.0.into())) + .or_else(|| self.content.next().map(|x| x.0.into())) .or_else(|| self.room.next().map(|x| x.0.into())) .or_else(|| self.sender.next().map(|x| x.0.into())) .or_else(|| self.underride.next().map(|x| x.0.into()))