don't email replies to yourself

This commit is contained in:
Evan Prodromou 2009-12-23 09:00:05 -08:00
parent 71b7bdbcbe
commit 1adce16dd8

View File

@ -599,6 +599,10 @@ function mail_notify_attn($user, $notice)
$sender = $notice->getProfile();
if ($sender->id == $user->id) {
return;
}
if (!$sender->hasRight(Right::EMAILONREPLY)) {
return;
}