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

Commit 58b9f83a authored by Zach Copley's avatar Zach Copley

Allow repeats to flow through the Twitter bridge

parent c9cbc314
......@@ -108,8 +108,10 @@ function is_twitter_bound($notice, $flink) {
return false;
}
// Don't send things that aren't posts (at least for now)
if ($notice->verb != ActivityVerb::POST) {
$allowedVerbs = array(ActivityVerb::POST, ActivityVerb::SHARE);
// Don't send things that aren't posts or repeats (at least for now)
if (!in_array($notice->verb, $allowedVerbs)) {
return false;
}
......
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