diff --git a/src/roomlistmodel.cpp b/src/roomlistmodel.cpp index d364755..2c574de 100644 --- a/src/roomlistmodel.cpp +++ b/src/roomlistmodel.cpp @@ -47,8 +47,7 @@ void RoomListModel::setConnection(Connection* connection) { [=](Connection::DirectChatsMap additions, Connection::DirectChatsMap removals) { for (QString roomID : additions.values() + removals.values()) - refresh(static_cast(connection->room(roomID)), - {CategoryRole}); + refresh(static_cast(connection->room(roomID))); }); doResetModel();