From: Evan Prodromou Date: Wed, 9 Jul 2008 20:39:25 +0000 (-0400) Subject: don't record a reply_to for responses to self X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=709f9fe1b75cc87c6d9e0908b8e5ec7d3a6bd04d;p=quix0rs-gnu-social.git don't record a reply_to for responses to self darcs-hash:20080709203925-84dde-d494ddd0188bea229ca75391949ec2f4c6a7bdb3.gz --- 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);