From c6473a1f371d8d5c653fe445b36aa39ab26c78cd Mon Sep 17 00:00:00 2001 From: Philipp Edelmann Date: Wed, 28 Jun 2017 14:12:01 +0200 Subject: [PATCH] This version and User-Agent makes the plugin work. This switches from Android to S40. The exact version numbers were taken from recommendations in yowsup. --- wa_constants.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wa_constants.h b/wa_constants.h index d000d20..9ec95e4 100644 --- a/wa_constants.h +++ b/wa_constants.h @@ -3,8 +3,8 @@ #define WHATSAPP_SERVER "s.whatsapp.net" -#define WHATSAPP_VERSION "Android-2.12.419" -#define WHATSAPP_USER_AGENT "User-Agent: WhatsApp/2.12.419 Android/4.3 Device/GalaxyS3\r\n" +#define WHATSAPP_VERSION "S40-2.16.11" +#define WHATSAPP_USER_AGENT "User-Agent: WhatsApp/2.16.11 S40/14.26 Device/Nokia-302\r\n" #define WHATSAPP_STATUS_ONLINE "online" #define WHATSAPP_STATUS_AWAY "away"