From 8a4bd37fead20e24876ec9ce703cabb041ec67ba Mon Sep 17 00:00:00 2001 From: CH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com> Date: Tue, 18 Aug 2020 11:29:02 +0530 Subject: [WIP] Room Verification Works! --- src/ui/UserProfile.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ui') 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 " -- cgit 1.5.1