don't overwrite replies in notices

darcs-hash:20081020170828-5ed1f-9172e6ee88e1e70bfbd6695b44bfb82eef690c4b.gz
This commit is contained in:
Evan Prodromou 2008-10-20 13:08:28 -04:00
parent f2e3021b59
commit cebcec1950

View File

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