]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
wrong comparison operator for saving reply to self
authorEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 20:40:50 +0000 (16:40 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 20:40:50 +0000 (16:40 -0400)
darcs-hash:20080709204050-84dde-b7ed70cb1820e8257f47d5cae23fbc1e1ff5a52f.gz

lib/util.php

index a9a42a3ab11bfc362656f034ec19f834bfbd1706..1498ffb142fd43e0c73a77986dfee6d50f464588 100644 (file)
@@ -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);