Twitter bridge - Bugfix: You can now turn off brige via prefs

darcs-hash:20080923231921-7b5ce-751490e59ae0a76cebf83eea98da902a63e39645.gz
This commit is contained in:
Zach Copley 2008-09-23 19:19:21 -04:00
parent d5bb9bda0b
commit 285f062197

View File

@ -1111,7 +1111,7 @@ function common_broadcast_notice($notice, $remote=false) {
// Check to see if notice should go to Twitter
$flink = Foreign_link::getForeignLink($notice->profile_id, 1); // 1 == Twitter
if ($flink) {
if ($flink->noticesync == 1) {
if (!common_twitter_broadcast($notice, $flink)) {
common_debug('Unable to send notice: ' . $notice->id . ' to Twitter.', __FILE__);
}