Skip to content

Commit

Permalink
Merge #795(nvrWhere): state_default default power level
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal authored Sep 6, 2024
2 parents 38ca295 + 5ca788d commit b778efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quotient/events/roompowerlevelsevent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PowerLevelsEventContent::PowerLevelsEventContent(const QJsonObject& json) :
redact(json["redact"_L1].toInt(50)),
events(fromJson<QHash<QString, int>>(json["events"_L1])),
eventsDefault(json["events_default"_L1].toInt(0)),
stateDefault(json["state_default"_L1].toInt(0)),
stateDefault(json["state_default"_L1].toInt(50)),
users(fromJson<QHash<QString, int>>(json["users"_L1])),
usersDefault(json["users_default"_L1].toInt(0)),
notifications(Notifications{json["notifications"_L1].toObject()["room"_L1].toInt(50)})
Expand Down

0 comments on commit b778efe

Please sign in to comment.