Fix variable shadowing
This commit is contained in:
parent
ad6e4fef64
commit
d81b14b77b
@ -1695,8 +1695,8 @@ utils::removeExpiredEvents()
|
||||
http::client()->messages(
|
||||
opts,
|
||||
[state = std::move(state)](const mtx::responses::Messages &msgs,
|
||||
mtx::http::RequestErr e) mutable {
|
||||
if (e || msgs.chunk.empty()) {
|
||||
mtx::http::RequestErr error) mutable {
|
||||
if (error || msgs.chunk.empty()) {
|
||||
state->currentRoom.clear();
|
||||
state->currentRoomCount = 0;
|
||||
state->currentRoomPrevToken.clear();
|
||||
|
@ -64,4 +64,3 @@ private:
|
||||
|
||||
void load();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user