don't send private notices over OStatus
This commit is contained in:
parent
798b03fb5f
commit
a74eda4e9a
@ -111,7 +111,9 @@ class OStatusPlugin extends Plugin
|
|||||||
*/
|
*/
|
||||||
function onStartEnqueueNotice($notice, &$transports)
|
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)
|
// put our transport first, in case there's any conflict (like OMB)
|
||||||
array_unshift($transports, 'ostatus');
|
array_unshift($transports, 'ostatus');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user