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

*_old username problems #195

Open
omkelderman opened this issue Jan 3, 2021 · 1 comment
Open

*_old username problems #195

omkelderman opened this issue Jan 3, 2021 · 1 comment

Comments

@omkelderman
Copy link
Collaborator

after quite a few times ive seen issues with *_old usernames, tldr querying the api for username foo_old gives back data from user foo.

peppy reasons: ppy/osu-api#280 (comment)

proposed solution: filter out *_old usernames and tell them to contact us to fix username mappings as almost certainly the bot wont be able to do it on their own. Alternatively we could instruct them to use !fixid, as querying the api with userid still works as expected

@Tillerino what ya think?

@tybug
Copy link

tybug commented Jul 5, 2021

Interestingly, replacing the _old portion of the username with just _ always (in my experience) resolves to the correct user. So searching for foo_ will return foo_old, whereas searching for foo_old will return foo. I've used this hack in u/OsuReportBot, though it's obviously not a documented feature, so not sure if you want to rely on it.

This is also a nonissue in api v2, fwiw (querying for foo_old always returns foo_old).

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

2 participants