summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index a9a42a3ab..1498ffb14 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -870,7 +870,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)) { # Don't save reply to self
$reply_for = $recipient;
$recipient_notice = $reply_for->getCurrentNotice();
$orig = clone($notice);