Allow repeats to flow through the Twitter bridge
This commit is contained in:
parent
c9cbc31481
commit
58b9f83a02
@ -108,8 +108,10 @@ function is_twitter_bound($notice, $flink) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't send things that aren't posts (at least for now)
|
$allowedVerbs = array(ActivityVerb::POST, ActivityVerb::SHARE);
|
||||||
if ($notice->verb != ActivityVerb::POST) {
|
|
||||||
|
// Don't send things that aren't posts or repeats (at least for now)
|
||||||
|
if (!in_array($notice->verb, $allowedVerbs)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user