From: Evan Prodromou Date: Fri, 26 Mar 2010 12:45:23 +0000 (-0400) Subject: Do ostatus queue first X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=75b2bf2a4e97f4405aaee9b14cc3096a91f26e1b;p=quix0rs-gnu-social.git 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. --- 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; }