From 75b2bf2a4e97f4405aaee9b14cc3096a91f26e1b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 26 Mar 2010 08:45:23 -0400 Subject: [PATCH] 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. --- plugins/OStatus/OStatusPlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index c985fb4bc1..f183bc7aea 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; } -- 2.39.5