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

Commit a74eda4e authored by Evan Prodromou's avatar Evan Prodromou

don't send private notices over OStatus

parent 798b03fb
......@@ -111,7 +111,9 @@ class OStatusPlugin extends Plugin
function onStartEnqueueNotice($notice, &$transports)
if ($notice->isLocal()) {
// FIXME: we don't do privacy-controlled OStatus updates yet.
// once that happens, finer grain of control here.
if ($notice->isLocal() && $notice->inScope(null)) {
// put our transport first, in case there's any conflict (like OMB)
array_unshift($transports, 'ostatus');
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