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

Recognize anonymous group messages as administrative #88

Open
Syfaro opened this issue Jul 7, 2021 · 0 comments
Open

Recognize anonymous group messages as administrative #88

Syfaro opened this issue Jul 7, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Syfaro
Copy link
Owner

Syfaro commented Jul 7, 2021

When performing commands that require administrative permissions, the bot attempts to validate that the sending user has administrative permissions in the chat (either through the permission cache or by calling the API). If the message was sent anonymously as the chat, the bot doesn't recognize the user as privileged (it's always from ID 1087968824). Because these anonymous messages can only be sent by admins, they should be recognized as being sent from a privileged user.

@Syfaro Syfaro added enhancement New feature or request good first issue Good for newcomers labels Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant