Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Login process fails #90

Closed
vkotovv opened this issue Aug 29, 2012 · 2 comments
Closed

Login process fails #90

vkotovv opened this issue Aug 29, 2012 · 2 comments

Comments

@vkotovv
Copy link

vkotovv commented Aug 29, 2012

After recent update, login process started to fail. I guess this is true for wazapp too. The key is several bytes change in streamStart method. Please take a look at venomous0x/WhatsAPI#29.
The possible solution could be (see https://github.com/tgalal/wazapp/blob/master/src/client/protocoltreenode.py#L328):

def streamStart(self,domain,resource):
   self.realOut.write(87);
   self.realOut.write(65);
   self.realOut.write(0);
   self.realOut.write(4);

I've pushed the fix to WhatsAPI, but dont know what branch to use for wazapp, so please fix it by yourself.

@knobtviker
Copy link
Contributor

Vadim, thank you for the fix, that helped a lot.

@CepiPerez
Copy link
Contributor

Can someone close this? Thanks!

@tgalal tgalal closed this as completed Sep 12, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants