From cebcec1950ebc5e648cc4bd12fd1cac5df94ab6b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 20 Oct 2008 13:08:28 -0400 Subject: don't overwrite replies in notices darcs-hash:20081020170828-5ed1f-9172e6ee88e1e70bfbd6695b44bfb82eef690c4b.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util.php') diff --git a/lib/util.php b/lib/util.php index 6e9e4533c..0841288be 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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) { -- cgit v1.2.3-54-g00ecf