diff options
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 |