Support bootstrapping crosssigning
Showing the bootstrap state and showing there are unverified devices is still missing.
This commit is contained in:
parent
c514acb7c5
commit
ad1e6c8298
20 changed files with 834 additions and 68 deletions
|
|
@ -201,6 +201,18 @@ Cache::Cache(const QString &userId, QObject *parent)
|
|||
{
|
||||
setup();
|
||||
connect(this, &Cache::userKeysUpdate, this, &Cache::updateUserKeys, Qt::QueuedConnection);
|
||||
connect(
|
||||
this,
|
||||
&Cache::verificationStatusChanged,
|
||||
this,
|
||||
[this](const std::string &u) {
|
||||
if (u == localUserId_.toStdString()) {
|
||||
auto status = verificationStatus(u);
|
||||
if (status.unverified_device_count || !status.user_verified)
|
||||
emit selfUnverified();
|
||||
}
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue