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

Add admin check using the provided username for firefish #56

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

interru
Copy link
Contributor

@interru interru commented Nov 4, 2023

>>> from fediseer.fediverse import InstanceInfo
>>> info = InstanceInfo('hooves.social')
>>> info.get_instance_info()
>>> info.is_admin('interru')
True
>>> info.is_admin('w')
False
>>> info.is_admin('fauli1221')
False
>>> info.is_admin('fauli1221')
False

Closes #55

@db0
Copy link
Member

db0 commented Nov 4, 2023

Nice thanks

@db0 db0 merged commit 364deba into Fediseer:main Nov 4, 2023
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

Successfully merging this pull request may close these issues.

Admin account retrieval doesn't work on Firefish
2 participants