diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Avatar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Avatar.php b/lib/private/Avatar.php index 116f8368e71..d107bb47c52 100644 --- a/lib/private/Avatar.php +++ b/lib/private/Avatar.php @@ -125,7 +125,7 @@ class Avatar implements IAvatar { * @return bool */ public function isCustomAvatar(): bool { - return !$this->folder->fileExists('generated'); + return $this->config->getUserValue($this->user->getUID(), 'avatar', 'generated', 'false') !== 'true'; } /** |