Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline auto detection #319

Open
suntong opened this issue Nov 8, 2020 · 0 comments
Open

Offline auto detection #319

suntong opened this issue Nov 8, 2020 · 0 comments

Comments

@suntong
Copy link

suntong commented Nov 8, 2020

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is.

Re-post from #177

We can found that "uin":289099750,"online":true, but when we send the next request for GET_CONTACT_SELF_INFO the grpc has no response for it, maybe the server think the bot is offline.

So I guess there some bugs about sync login data in base server.

Describe the solution you'd like

It is better to be able to detect such situation, and trigger a logout action, so as forcing the user to scan QR code to login again.

Describe alternatives you've considered

Manually remove the .memory-card.json, and then restart the bot again would work, but that's less ideal.

Additional context

It seems to be a re-occurring problem

[enhancement]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant