Make device verification request dialogs easier to understand.
This commit is contained in:
parent
74e32dd96b
commit
81762119b9
3 changed files with 31 additions and 2 deletions
|
|
@ -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_)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue