Fix warning

This commit is contained in:
Nicolas Werner 2021-05-28 23:50:04 +02:00
parent 03d30a2abc
commit 2174f6507f
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 1 additions and 1 deletions

View File

@ -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);