don't send group private message mail notification to the author
This commit is contained in:
parent
acd594c9a6
commit
dc73cf0b05
@ -127,7 +127,10 @@ class Group_message_profile extends Memcached_DataObject
|
||||
|
||||
$gmp->insert();
|
||||
|
||||
$gmp->notify();
|
||||
// If it's not for the author, send email notification
|
||||
if ($gm->from_profile != $profile->id) {
|
||||
$gmp->notify();
|
||||
}
|
||||
|
||||
return $gmp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user