mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix accidental shadowing
This commit is contained in:
parent
0a405a7446
commit
060a03e055
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue