Fix some linting issues

This commit is contained in:
Joseph Donofry 2019-07-04 13:18:32 -04:00
parent 713f9dbe89
commit 175737c28b
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 8 additions and 7 deletions

View file

@ -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");