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

[Feature request] Telegram Auth: Skip Channels where the bot isn't a member #192

Open
TechG3n opened this issue Jan 6, 2021 · 0 comments

Comments

@TechG3n
Copy link
Contributor

TechG3n commented Jan 6, 2021

Expected Behavior

If the Bot isn't in the specified chat, post a warning and check the next ChatID

Current Behavior

It get's stuck if the bot was removed from one group and won't let new users authenticate

Possible Solution

Skip chats where the bot can't read the members

Steps to Reproduce (for bugs)

  1. remove bot from a chat which is specified in the config
  2. logout from map and try to login again
  3. Site loads infinitly and log shows "Exception while retrieving Telegram data: 403 Client Error: Forbidden for url: https://api.telegram.org/bot11111:2222222222222222222/getChatMember"

Context

One user removed the bot by mistake, allready logged in users are fine but new ones can't login

Your Environment

  • Version used: newest pull
  • Environment name and version (e.g. Python 2.7): Python 3.6
  • Operating System and version (desktop or mobile): all
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