summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-31 12:37:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-31 12:37:12 +0300
commit6e5ca415c19d8c2f550acb8f62810a8867253712 (patch)
treed1b9772599707634166ff5cacb0e06c05b583dfa /protocols/WhatsApp/src
parent0e9387b9358caefc5870d7c52e5bd706be635b94 (diff)
fixes #3233 (WhatsApp: сломалась привязка устройства)
Diffstat (limited to 'protocols/WhatsApp/src')
-rw-r--r--protocols/WhatsApp/src/qrcode.cpp4
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)