summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 16:39:25 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 16:39:25 -0400
commit709f9fe1b75cc87c6d9e0908b8e5ec7d3a6bd04d (patch)
tree23dbc1d3ab9855c760869e01d1241578d8e16473
parentcd0049aceec1879637464690dda04f6c5f81f4f0 (diff)
don't record a reply_to for responses to self
darcs-hash:20080709203925-84dde-d494ddd0188bea229ca75391949ec2f4c6a7bdb3.gz
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index d529b9109..a9a42a3ab 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);