tomer8007 / kik-bot-api-unofficial

Python API for writing unoffical Kik bots that act like humans
MIT License
126 stars 76 forks source link

on_login_ended is seemingly never called #229

Closed ilike3pancakes closed 4 months ago

ilike3pancakes commented 11 months ago

This makes it hard to get self JID

I suspect there's been some change in the response xml on login so that this doesn't work anymore:

https://github.com/tomer8007/kik-bot-api-unofficial/blob/a8657f212d3cca6ce646911825829177532d7687/kik_unofficial/xmlns_handlers.py#L160

Would you take a PR aiming to simply add some diags/debug logs here?

tomer8007 commented 11 months ago

If all you want to do is to figure out why on_login_ended never gets called, why wouldn't you debug it locally?

ilike3pancakes commented 11 months ago

I don't actually need it

If you're not interested feel free to close

tomer8007 commented 11 months ago

If it never gets called it is a bug, though.

TheGreatCodeholio commented 8 months ago

on_login_ended only gets called if logging in with username/password. If you are logging in using a kik_node and authenticated session it will not get called, on_authenticated gets called.