don't send group private message mail notification to the author

This commit is contained in:
Evan Prodromou 2011-03-23 14:24:07 -04:00
parent acd594c9a6
commit dc73cf0b05

View File

@ -127,7 +127,10 @@ class Group_message_profile extends Memcached_DataObject
$gmp->insert(); $gmp->insert();
$gmp->notify(); // If it's not for the author, send email notification
if ($gm->from_profile != $profile->id) {
$gmp->notify();
}
return $gmp; return $gmp;
} }