From: Zach Copley Date: Tue, 23 Sep 2008 23:19:21 +0000 (-0400) Subject: Twitter bridge - Bugfix: You can now turn off brige via prefs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=285f062197e7ffe18e2a1cf001f0f6eb8e8821fc;p=quix0rs-gnu-social.git Twitter bridge - Bugfix: You can now turn off brige via prefs darcs-hash:20080923231921-7b5ce-751490e59ae0a76cebf83eea98da902a63e39645.gz --- diff --git a/lib/util.php b/lib/util.php index 90abe72dba..b0edb8ef04 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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__); }