From 58b9f83a02cdebe30a69c2d68e9d140af53a25c0 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 21 Sep 2011 05:23:47 +0000 Subject: [PATCH] Allow repeats to flow through the Twitter bridge --- plugins/TwitterBridge/twitter.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php index 8f58153d2c..05fbdf2c4f 100644 --- a/plugins/TwitterBridge/twitter.php +++ b/plugins/TwitterBridge/twitter.php @@ -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; }