don't push twitter stuff public if its not public
This commit is contained in:
parent
b1783e8d49
commit
683bd3f2b5
|
@ -228,7 +228,7 @@ class TwitterBridgePlugin extends Plugin
|
||||||
*/
|
*/
|
||||||
function onStartEnqueueNotice($notice, &$transports)
|
function onStartEnqueueNotice($notice, &$transports)
|
||||||
{
|
{
|
||||||
if (self::hasKeys() && $notice->isLocal()) {
|
if (self::hasKeys() && $notice->isLocal() && $notice->inScope(null)) {
|
||||||
// Avoid a possible loop
|
// Avoid a possible loop
|
||||||
if ($notice->source != 'twitter') {
|
if ($notice->source != 'twitter') {
|
||||||
array_push($transports, 'twitter');
|
array_push($transports, 'twitter');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user