mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 00:16:07 +00:00
dont notify about mention to current user
This commit is contained in:
@@ -69,6 +69,9 @@ class Mentions extends \Espo\Core\Hooks\Base
|
||||
);
|
||||
$mentionData->$item = (object) $m;
|
||||
if (!in_array($item, $previousMentionList)) {
|
||||
if ($user->id == $this->getUser()->id) {
|
||||
continue;
|
||||
}
|
||||
$this->notifyAboutMention($entity, $user);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user