Fix #2 for real.

This commit is contained in:
Black Hat 2019-04-22 19:52:37 +08:00
parent c727eb3bfd
commit 4557b91ec6
1 changed files with 1 additions and 2 deletions

View File

@ -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<SpectralRoom*>(connection->room(roomID)),
{CategoryRole});
refresh(static_cast<SpectralRoom*>(connection->room(roomID)));
});
doResetModel();