From: Evan Prodromou Date: Mon, 20 Oct 2008 17:08:28 +0000 (-0400) Subject: don't overwrite replies in notices X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cebcec1950ebc5e648cc4bd12fd1cac5df94ab6b;p=quix0rs-gnu-social.git don't overwrite replies in notices darcs-hash:20081020170828-5ed1f-9172e6ee88e1e70bfbd6695b44bfb82eef690c4b.gz --- diff --git a/lib/util.php b/lib/util.php index 6e9e4533cf..0841288be1 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) {