We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit cbe003eb authored by Evan Prodromou's avatar Evan Prodromou

don't leak private notices to facebook

parent 683bd3f2
...@@ -455,7 +455,7 @@ ENDOFSCRIPT; ...@@ -455,7 +455,7 @@ ENDOFSCRIPT;
*/ */
function onStartEnqueueNotice($notice, &$transports) function onStartEnqueueNotice($notice, &$transports)
{ {
if (self::hasApplication() && $notice->isLocal()) { if (self::hasApplication() && $notice->isLocal() && $notice->inScope(null)) {
array_push($transports, 'facebook'); array_push($transports, 'facebook');
} }
return true; return true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment