Previously the stored Discord identity only updated when a member manually unlinked and relinked their account, so a changed Discord avatar never showed up. The OAuth exchange now also captures the refresh_token; discord_sync_avatar_if_stale() uses it to silently pull the current username/avatar (throttled to once per hour) and is called from profile.php, so opening "Mein Profil" keeps it current without any re-consent flow. Adds discord_refresh_token and discord_avatar_synced_at columns. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .htaccess | ||
| schema.sql | ||