mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Get member info loading working
This commit is contained in:
parent
a76fc7d200
commit
f0c88fc474
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue