don't record a reply_to for responses to self

darcs-hash:20080709203925-84dde-d494ddd0188bea229ca75391949ec2f4c6a7bdb3.gz
This commit is contained in:
Evan Prodromou 2008-07-09 16:39:25 -04:00
parent cd0049acee
commit 709f9fe1b7

View File

@ -870,7 +870,7 @@ function common_save_replies($notice) {
if (!$recipient) {
continue;
}
if ($i == 0) {
if ($i == 0 && ($recipient->id == $sender->id)) { # Don't save reply to self
$reply_for = $recipient;
$recipient_notice = $reply_for->getCurrentNotice();
$orig = clone($notice);