Fix accidental shadowing
This commit is contained in:
parent
0a405a7446
commit
060a03e055
@ -1548,7 +1548,7 @@ Cache::updateState(const std::string &room, const mtx::responses::StateEvents &s
|
||||
std::string_view data;
|
||||
if (roomsDb_.get(txn, room, data)) {
|
||||
try {
|
||||
RoomInfo updatedInfo = json::parse(std::string_view(data.data(), data.size()));
|
||||
updatedInfo = json::parse(std::string_view(data.data(), data.size()));
|
||||
} catch (const json::exception &e) {
|
||||
nhlog::db()->warn("failed to parse room info: room_id ({}), {}: {}",
|
||||
room,
|
||||
|
Loading…
Reference in New Issue
Block a user