Heello / Issues

Bug and feature tracking
1 stars 0 forks source link

Changing username results in avatar/dp/etc. loss #23

Closed katanacrimson closed 7 years ago

katanacrimson commented 11 years ago

Looks like the idea of basing the avatar upload path on usernames and allowing users to change their usernames is a bad idea. Perhaps it should be based on UIDs to keep things from breaking?

caseym commented 11 years ago

There should be a back end process that will move an avatar, cover and background to the new username. Using the username allows clients to predict those resources without the use of an API call.

liclac commented 11 years ago

Using the ID would remove the need to predict anything though. Applications should be using the ID as far as possible anyways, as usernames can change at any time, and the user shouldn't have to remove and re-add their account for these changes to take effect (which, sadly, is the case with quite a few Twitter apps…).

katanacrimson commented 11 years ago

@caseym in most cases, we'll have the user id anyways from most API calls that involve a user.