mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Avatars plugin added other identicon types (needs config settings)
This commit is contained in:
parent
9df052a435
commit
9502fa3f5a
4 changed files with 97 additions and 23 deletions
|
|
@ -19,7 +19,9 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$this->addJs('avatars.js');
|
||||
$this->addJsonHook('Avatar', 'DoAvatar');
|
||||
$this->addPartHook('Avatar', 'ServiceAvatar');
|
||||
$this->Config()->Get('plugin', 'identicon', false) && $this->addJs('jdenticon.js');
|
||||
// $this->Config()->Get('plugin', 'identicon', false) && $this->addJs('jdenticon.js');
|
||||
// GitHub-style
|
||||
$this->Config()->Get('plugin', 'identicon', false) && $this->addJs('identicon.js');
|
||||
// https://github.com/the-djmaze/snappymail/issues/714
|
||||
$this->Config()->Get('plugin', 'delay', true) || $this->addHook('filter.json-response', 'FilterJsonResponse');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue