summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-05-28 23:50:04 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-05-28 23:50:04 +0200
commit2174f6507face6ec322a5115a40a0e722703b29e (patch)
tree9c2c1ca18a1238b4367f391b178bd630df0b4eb9 /src/timeline
parentDelete old room list (diff)
downloadnheko-2174f6507face6ec322a5115a40a0e722703b29e.tar.xz
Fix warning
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/RoomlistModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/RoomlistModel.cpp b/src/timeline/RoomlistModel.cpp
index 9f926d2b..d2ba0dc3 100644
--- a/src/timeline/RoomlistModel.cpp
+++ b/src/timeline/RoomlistModel.cpp
@@ -296,7 +296,7 @@ RoomlistModel::sync(const mtx::responses::Rooms &rooms)
         }
 
         for (const auto &[room_id, room] : rooms.invite) {
-                (void)room_id;
+                (void)room;
                 auto qroomid = QString::fromStdString(room_id);
 
                 auto invite = cache::client()->invite(room_id);