From: Evan Prodromou Date: Mon, 28 Mar 2011 20:10:24 +0000 (-0400) Subject: don't leak private notices to facebook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cbe003eb38a092127cddb95da2268fa8cc9d76e7;p=quix0rs-gnu-social.git don't leak private notices to facebook --- diff --git a/plugins/FacebookBridge/FacebookBridgePlugin.php b/plugins/FacebookBridge/FacebookBridgePlugin.php index 9c2a406090..d5a3f7c633 100644 --- a/plugins/FacebookBridge/FacebookBridgePlugin.php +++ b/plugins/FacebookBridge/FacebookBridgePlugin.php @@ -455,7 +455,7 @@ ENDOFSCRIPT; */ function onStartEnqueueNotice($notice, &$transports) { - if (self::hasApplication() && $notice->isLocal()) { + if (self::hasApplication() && $notice->isLocal() && $notice->inScope(null)) { array_push($transports, 'facebook'); } return true;