summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:08:28 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:08:28 -0400
commitcebcec1950ebc5e648cc4bd12fd1cac5df94ab6b (patch)
treec3626da1ee06e7f01a5a746fc6799441c99089e1 /lib
parentf2e3021b59f3661b3c900b06600a580b8970df2f (diff)
don't overwrite replies in notices
darcs-hash:20081020170828-5ed1f-9172e6ee88e1e70bfbd6695b44bfb82eef690c4b.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
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) {