the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 67 forks source link

Bug: Profile pictures break on articles when users change them #146

Closed hhhapz closed 4 years ago

hhhapz commented 5 years ago

https://theprogrammershangout.com/resources/kotlin/native/creating-c-bindings.md

Profile picture does not load up for me ^^

junlarsen commented 5 years ago

This is because I changed my Discord profile picture after the article was rendered.

I'm not sure how we're going fix this as they break every time a user changes avatar

hhhapz commented 5 years ago

Is the discord cdn's link to the profile picture also removed after it is changed?

junlarsen commented 5 years ago

Yes, that is why the avatars break, because Discord changes the URL to the avatar

dfireBird commented 4 years ago

We could use Discord API to retrieve the profile picture from their Discord Tag or ID?

veksen commented 4 years ago

We've been creating a nightly build which refetches the user avatars, for a few weeks now. This should be good enough!