]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Twitter bridge - Bugfix: You can now turn off brige via prefs
authorZach Copley <zach@controlyourself.ca>
Tue, 23 Sep 2008 23:19:21 +0000 (19:19 -0400)
committerZach Copley <zach@controlyourself.ca>
Tue, 23 Sep 2008 23:19:21 +0000 (19:19 -0400)
darcs-hash:20080923231921-7b5ce-751490e59ae0a76cebf83eea98da902a63e39645.gz

lib/util.php

index 90abe72dba622efb6212e341034b6755ecac21d4..b0edb8ef041cf2f92760ab86b0563ca6bbac2643 100644 (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__);
                }