mirror of
https://github.com/nextcloud/mail.git
synced 2025-08-16 17:04:19 +00:00
Add opt-out setting for Gravatar integration
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
@ -38,6 +38,15 @@ class GravatarSource implements IAvatarSource {
|
||||
$this->clientService = $clientService;
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this source query external services?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isExternal() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $email sender email address
|
||||
* @param AvatarFactory $factory
|
||||
|
Reference in New Issue
Block a user