events: Fix comment
This commit is contained in:
parent
649da9c5b8
commit
c3756aafc5
@ -142,8 +142,8 @@ pub struct RoomPowerLevelsEventContent {
|
||||
impl RoomPowerLevelsEventContent {
|
||||
/// Creates a new `RoomPowerLevelsEventContent` with all-default values.
|
||||
pub fn new() -> Self {
|
||||
// events_default and users_default having a default of 0 while the others have a default
|
||||
// of 50 is not an oversight, these defaults are from the Matrix specification.
|
||||
// events_default, users_default and invite having a default of 0 while the others have a
|
||||
// default of 50 is not an oversight, these defaults are from the Matrix specification.
|
||||
Self {
|
||||
ban: default_power_level(),
|
||||
events: BTreeMap::new(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user