summary refs log tree commit diff
path: root/src/ui/RoomSummary.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-08-05 22:10:22 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-08-05 22:10:22 +0200
commitcd289e0587de9d43d26e0410b1707530a946525a (patch)
treec7d9eb4332a3263621b8b8d86744292a240aa5a0 /src/ui/RoomSummary.cpp
parentShow a room preview in the join confirmation dialog (diff)
downloadnheko-cd289e0587de9d43d26e0410b1707530a946525a.tar.xz
Fix macos shadowing
Diffstat (limited to 'src/ui/RoomSummary.cpp')
-rw-r--r--src/ui/RoomSummary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/RoomSummary.cpp b/src/ui/RoomSummary.cpp

index dc035fe0..da2a547c 100644 --- a/src/ui/RoomSummary.cpp +++ b/src/ui/RoomSummary.cpp
@@ -33,11 +33,11 @@ RoomSummary::RoomSummary(std::string roomIdOrAlias_, http::client()->get_summary( roomIdOrAlias, - [proxy = std::move(ctx)](const mtx::responses::PublicRoom &room, mtx::http::RequestErr e) { + [proxy = std::move(ctx)](const mtx::responses::PublicRoom &room_, mtx::http::RequestErr e) { if (e) { emit proxy->failed(); } else { - emit proxy->loaded(room); + emit proxy->loaded(room_); } }, vias);