mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Fix some linting issues
This commit is contained in:
parent
713f9dbe89
commit
175737c28b
2 changed files with 8 additions and 7 deletions
|
@ -2201,7 +2201,8 @@ from_json(const json &j, RoomInfo &info)
|
||||||
info.name = j.at("name");
|
info.name = j.at("name");
|
||||||
info.topic = j.at("topic");
|
info.topic = j.at("topic");
|
||||||
info.avatar_url = j.at("avatar_url");
|
info.avatar_url = j.at("avatar_url");
|
||||||
info.version = j.value("version", QCoreApplication::translate("RoomInfo", "no version stored").toStdString());
|
info.version = j.value(
|
||||||
|
"version", QCoreApplication::translate("RoomInfo", "no version stored").toStdString());
|
||||||
info.is_invite = j.at("is_invite");
|
info.is_invite = j.at("is_invite");
|
||||||
info.join_rule = j.at("join_rule");
|
info.join_rule = j.at("join_rule");
|
||||||
info.guest_access = j.at("guest_access");
|
info.guest_access = j.at("guest_access");
|
||||||
|
|
Loading…
Reference in a new issue