Fix #2 for real.
This commit is contained in:
parent
c727eb3bfd
commit
4557b91ec6
|
@ -47,8 +47,7 @@ void RoomListModel::setConnection(Connection* connection) {
|
||||||
[=](Connection::DirectChatsMap additions,
|
[=](Connection::DirectChatsMap additions,
|
||||||
Connection::DirectChatsMap removals) {
|
Connection::DirectChatsMap removals) {
|
||||||
for (QString roomID : additions.values() + removals.values())
|
for (QString roomID : additions.values() + removals.values())
|
||||||
refresh(static_cast<SpectralRoom*>(connection->room(roomID)),
|
refresh(static_cast<SpectralRoom*>(connection->room(roomID)));
|
||||||
{CategoryRole});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
doResetModel();
|
doResetModel();
|
||||||
|
|
Loading…
Reference in New Issue