diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-31 12:37:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-31 12:37:12 +0300 |
commit | 6e5ca415c19d8c2f550acb8f62810a8867253712 (patch) | |
tree | d1b9772599707634166ff5cacb0e06c05b583dfa /protocols/WhatsApp/src/qrcode.cpp | |
parent | 0e9387b9358caefc5870d7c52e5bd706be635b94 (diff) |
fixes #3233 (WhatsApp: сломалась привязка устройства)
Diffstat (limited to 'protocols/WhatsApp/src/qrcode.cpp')
-rw-r--r-- | protocols/WhatsApp/src/qrcode.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/qrcode.cpp b/protocols/WhatsApp/src/qrcode.cpp index a7973f6639..18edfc3e91 100644 --- a/protocols/WhatsApp/src/qrcode.cpp +++ b/protocols/WhatsApp/src/qrcode.cpp @@ -116,8 +116,10 @@ static INT_PTR __stdcall sttShowDialog(void *param) void WhatsAppProto::CloseQrDialog() { - if (m_pQRDlg) + if (m_pQRDlg) { + m_pQRDlg->SetSuccess(); m_pQRDlg->Close(); + } } bool WhatsAppProto::ShowQrCode(const CMStringA &ref) |