1 files changed, 6 insertions, 0 deletions
diff --git a/src/DeviceVerificationFlow.cpp b/src/DeviceVerificationFlow.cpp
index f692629e..51ef79fd 100644
--- a/src/DeviceVerificationFlow.cpp
+++ b/src/DeviceVerificationFlow.cpp
@@ -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_)
{
|