alfred82santa / whalesong

Whalesong is an asyncio python library to manage WebApps remotely. Currently WhatsappWeb is implemented
https://whalesong.readthedocs.io
MIT License
50 stars 19 forks source link

How I can see what user disconnected in phone? #86

Closed Tingaev closed 5 years ago

alfred82santa commented 5 years ago

Well, you must think all contacts are unavailable by default (it is the way that whatsapp do that). So, you could check which contact is available using presence manager in each chat manager. Look at example: https://github.com/alfred82santa/whalesong/blob/master/examples/presencemonitor.py