Get member info loading working

This commit is contained in:
Loren Burkholder 2021-06-11 19:18:04 -04:00
parent a76fc7d200
commit f0c88fc474

View file

@ -16,12 +16,10 @@ InviteesModel::addUser(QString mxid)
auto invitee = new Invitee{mxid, this}; auto invitee = new Invitee{mxid, this};
connect(invitee, &Invitee::userInfoLoaded, this, [this]() { connect(invitee, &Invitee::userInfoLoaded, this, [this]() {
emit dataChanged(QModelIndex{}, QModelIndex{}); endInsertRows();
}); });
invitees_.push_back(invitee); invitees_.push_back(invitee);
endInsertRows();
} }
QHash<int, QByteArray> QHash<int, QByteArray>