From: Evan Prodromou Date: Mon, 28 Mar 2011 16:56:18 +0000 (-0400) Subject: don't push twitter stuff public if its not public X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=683bd3f2b5bf8f9e5e2f566384184d4896bfc2e2;p=quix0rs-gnu-social.git don't push twitter stuff public if its not public --- diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php index d7c895d9cf..b6658b13a6 100644 --- a/plugins/TwitterBridge/TwitterBridgePlugin.php +++ b/plugins/TwitterBridge/TwitterBridgePlugin.php @@ -228,7 +228,7 @@ class TwitterBridgePlugin extends Plugin */ function onStartEnqueueNotice($notice, &$transports) { - if (self::hasKeys() && $notice->isLocal()) { + if (self::hasKeys() && $notice->isLocal() && $notice->inScope(null)) { // Avoid a possible loop if ($notice->source != 'twitter') { array_push($transports, 'twitter');