Make device verification request dialogs easier to understand.

This commit is contained in:
Nicolas Werner 2021-01-12 13:32:12 +01:00
parent 74e32dd96b
commit 81762119b9
3 changed files with 31 additions and 2 deletions

View file

@ -505,6 +505,12 @@ DeviceVerificationFlow::getSasList()
return this->sasList;
}
bool
DeviceVerificationFlow::isSelfVerification() const
{
return this->toClient.to_string() == http::client()->user_id().to_string();
}
void
DeviceVerificationFlow::setEventId(std::string event_id_)
{