Commit 1adce16d authored by Evan Prodromou's avatar Evan Prodromou

don't email replies to yourself

parent 71b7bdbc
......@@ -599,6 +599,10 @@ function mail_notify_attn($user, $notice)
$sender = $notice->getProfile();
if ($sender->id == $user->id) {
if (!$sender->hasRight(Right::EMAILONREPLY)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment