summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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) {