Twitter bridge - was checking the wrong bit (!) for reply sync preference
authorzach <zach@controlyourself.ca>
Tue, 7 Oct 2008 00:44:32 +0000 (20:44 -0400)
committerzach <zach@controlyourself.ca>
Tue, 7 Oct 2008 00:44:32 +0000 (20:44 -0400)
darcs-hash:20081007004432-462f3-6385dcaf69cbcf18ce36a45dc17f5e8b9a19ba31.gz

lib/util.php

index 1e58fda09a5ffa7772872dc701b6c6896b0ede1d..bb5da1396552356a6c73dfb8d29e14482dadec26 100644 (file)
@@ -1120,7 +1120,7 @@ function common_broadcast_notice($notice, $remote=false) {
                // If it's not a Twitter-style reply, or if the user WANTS to send replies...
 
                if (!preg_match('/^@[a-zA-Z0-9_]{1,15}\b/', $notice->content) ||
-                       (($flink->noticesync & FOREIGN_NOTICE_SEND) == FOREIGN_NOTICE_SEND)) {
+                       (($flink->noticesync & FOREIGN_NOTICE_SEND_REPLY) == FOREIGN_NOTICE_SEND_REPLY)) {
 
                        $result = common_twitter_broadcast($notice, $flink);