summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-26 08:45:23 -0400
committerEvan Prodromou <evan@status.net>2010-03-26 08:45:23 -0400
commit75b2bf2a4e97f4405aaee9b14cc3096a91f26e1b (patch)
tree5ed68a96158ba0b718d27a96ecd1b9bcec69a580 /plugins
parente91bf2b8a99d55bf3633b80827a537efa160fc7b (diff)
Do ostatus queue first
We do the OStatus queue first, so if we're sending a notice to the same server twice (e.g., with OMB), our richer and more featureful notice comes in first.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OStatus/OStatusPlugin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index c985fb4bc..f183bc7ae 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -102,7 +102,8 @@ class OStatusPlugin extends Plugin
*/
function onStartEnqueueNotice($notice, &$transports)
{
- $transports[] = 'ostatus';
+ // put our transport first, in case there's any conflict (like OMB)
+ array_unshift($transports, 'ostatus');
return true;
}