diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-22 10:16:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-22 10:16:10 +0300 |
commit | d5ac80725ea40736751aa74526254ee2d12ce59e (patch) | |
tree | 8bd4051f2d9aaf0aca254054e9f306c27c8aa3de /protocols/WhatsAppWeb | |
parent | f9923b93c1b55cb99987756c772a8002a62cd555 (diff) |
вертаем на место Хром, ибо не жужжит
Diffstat (limited to 'protocols/WhatsAppWeb')
-rw-r--r-- | protocols/WhatsAppWeb/src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsAppWeb/src/server.cpp b/protocols/WhatsAppWeb/src/server.cpp index 919e6398e5..183935661d 100644 --- a/protocols/WhatsAppWeb/src/server.cpp +++ b/protocols/WhatsAppWeb/src/server.cpp @@ -292,7 +292,7 @@ bool WhatsAppProto::ServerThreadWorker() MFileVersion v; Miranda_GetFileVersion(&v); - CMStringA payload(FORMAT, "[\"admin\",\"init\",[%d,%d,%d],[\"Miranda NG\",\"Windows\",\"10\"],\"%s\",true]", v[1], v[2], v[3], m_szClientId.c_str()); + CMStringA payload(FORMAT, "[\"admin\",\"init\",[0,3,4940],[\"Windows\",\"Chrome\",\"10\"],\"%s\",true]", m_szClientId.c_str()); if (m_szClientToken.IsEmpty() || mac_key.isEmpty() || enc_key.isEmpty()) WSSend(payload, &WhatsAppProto::OnStartSession); else |