Twitter bridge - was checking the wrong bit (!) for reply sync preference

darcs-hash:20081007004432-462f3-6385dcaf69cbcf18ce36a45dc17f5e8b9a19ba31.gz
This commit is contained in:
zach 2008-10-06 20:44:32 -04:00
parent fd576d73d0
commit db236870c6

View 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);