Skip to content

Commit

Permalink
This version and User-Agent makes the plugin work.
Browse files Browse the repository at this point in the history
This switches from Android to S40. The exact version numbers were taken
from recommendations in yowsup.
  • Loading branch information
Philipp Edelmann committed Jun 28, 2017
1 parent 07ed931 commit c6473a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wa_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c6473a1

Please sign in to comment.