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.
This commit is contained in:
Evan Prodromou 2010-03-26 08:45:23 -04:00
parent e91bf2b8a9
commit 75b2bf2a4e
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}