summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-08-18 11:29:02 +0530
committerCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-08-18 11:29:02 +0530
commit8a4bd37fead20e24876ec9ce703cabb041ec67ba (patch)
tree7f304caad6226d252a912da0fafcdf9aaae86303 /src/ui
parent[WIP] Room-Verification Messages (diff)
downloadnheko-8a4bd37fead20e24876ec9ce703cabb041ec67ba.tar.xz
[WIP] Room Verification Works!
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/UserProfile.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp
index 1eaa9d27..87eae001 100644
--- a/src/ui/UserProfile.cpp
+++ b/src/ui/UserProfile.cpp
@@ -211,8 +211,9 @@ UserProfile::createFlow(bool isVerifyUser)
                                           << std::endl;
                                         if (this->roomid_.toStdString() == room_id) {
                                                 auto newflow = new DeviceVerificationFlow(
-                                                  this, DeviceVerificationFlow::Type::RoomMsg);
-                                                newflow->setModel(this->model);
+                                                  this,
+                                                  DeviceVerificationFlow::Type::RoomMsg,
+                                                  this->model);
                                                 return (std::move(newflow));
                                         } else {
                                                 std::cout << "FOUND A ENCRYPTED ROOM BUT CURRENTLY "