Fix unused warnings under certain cfg
This commit is contained in:
parent
82bfb2e4d2
commit
59fd881521
@ -31,6 +31,7 @@ impl NotificationPowerLevels {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "events")]
|
||||
pub(crate) fn is_default(&self) -> bool {
|
||||
self.room == default_power_level()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user