]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't push twitter stuff public if its not public
authorEvan Prodromou <evan@status.net>
Mon, 28 Mar 2011 16:56:18 +0000 (12:56 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 28 Mar 2011 16:56:18 +0000 (12:56 -0400)
plugins/TwitterBridge/TwitterBridgePlugin.php

index d7c895d9cf4e8e7d401db4bd345e91bffa57ee31..b6658b13a6f2c15d9caabde1ccdc8bc0dd3fe225 100644 (file)
@@ -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');