diff options
author | Evan Prodromou <evan@status.net> | 2009-12-04 16:30:33 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-12-04 16:30:33 -0500 |
commit | 5c973876ac7aef093f2b8ff72b0e23f9c2b1c498 (patch) | |
tree | ab055c5702169fdd186c655a496990a784ec2826 /plugins/TwitterBridge/TwitterBridgePlugin.php | |
parent | 098426cee901d264332c0ad0dd2155d30487d35f (diff) | |
parent | 4afe07f0c3ab20d4007e94f9e4e9b35629b5f63e (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/TwitterBridge/TwitterBridgePlugin.php')
-rw-r--r-- | plugins/TwitterBridge/TwitterBridgePlugin.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php index ad3c2e551..adf9ceda3 100644 --- a/plugins/TwitterBridge/TwitterBridgePlugin.php +++ b/plugins/TwitterBridge/TwitterBridgePlugin.php @@ -127,7 +127,12 @@ class TwitterBridgePlugin extends Plugin */ function onStartEnqueueNotice($notice, &$transports) { - array_push($transports, 'twitter'); + // Avoid a possible loop + + if ($notice->source != 'twitter') { + array_push($transports, 'twitter'); + } + return true; } |