diff options
author | CH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com> | 2020-08-18 11:29:02 +0530 |
---|---|---|
committer | CH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com> | 2020-08-18 11:29:02 +0530 |
commit | 8a4bd37fead20e24876ec9ce703cabb041ec67ba (patch) | |
tree | 7f304caad6226d252a912da0fafcdf9aaae86303 /src/ui | |
parent | [WIP] Room-Verification Messages (diff) | |
download | nheko-8a4bd37fead20e24876ec9ce703cabb041ec67ba.tar.xz |
[WIP] Room Verification Works!
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/UserProfile.cpp | 5 |
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 " |