Improve Migrations & Fix Discord Avatars
This commit is contained in:
@@ -103,7 +103,7 @@ class User extends Authenticatable
|
||||
{
|
||||
if ($this->discord_id && $this->discord_avatar && !$this->avatar)
|
||||
{
|
||||
return "https://external-content.duckduckgo.com/iu/?u=https://cdn.discordapp.com/avatars/{$this->discord_id}/{$this->discord_avatar}.webp";
|
||||
return $this->discord_avatar;
|
||||
}
|
||||
|
||||
if ($this->avatar)
|
||||
|
||||
Reference in New Issue
Block a user