Show different verification errors
This commit is contained in:
parent
bca29a4227
commit
8a4d85f801
7 changed files with 35 additions and 20 deletions
|
|
@ -396,6 +396,18 @@ TimelineViewManager::verifyUser(QString userid)
|
|||
tr("No share room with this user found. Create an "
|
||||
"encrypted room with this user and try again."));
|
||||
}
|
||||
|
||||
void
|
||||
TimelineViewManager::removeVerificationFlow(DeviceVerificationFlow *flow)
|
||||
{
|
||||
for (auto it = dvList.keyValueBegin(); it != dvList.keyValueEnd(); ++it) {
|
||||
if (it->second == flow) {
|
||||
dvList.remove(it->first);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
TimelineViewManager::verifyDevice(QString userid, QString deviceid)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue