From 709f9fe1b75cc87c6d9e0908b8e5ec7d3a6bd04d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 16:39:25 -0400 Subject: [PATCH] don't record a reply_to for responses to self darcs-hash:20080709203925-84dde-d494ddd0188bea229ca75391949ec2f4c6a7bdb3.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index d529b91095..a9a42a3ab1 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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);