Get member info loading working
This commit is contained in:
parent
a76fc7d200
commit
f0c88fc474
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user