forked from GNUsocial/gnu-social
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:
parent
e91bf2b8a9
commit
75b2bf2a4e
@ -102,7 +102,8 @@ class OStatusPlugin extends Plugin
|
|||||||
*/
|
*/
|
||||||
function onStartEnqueueNotice($notice, &$transports)
|
function onStartEnqueueNotice($notice, &$transports)
|
||||||
{
|
{
|
||||||
$transports[] = 'ostatus';
|
// put our transport first, in case there's any conflict (like OMB)
|
||||||
|
array_unshift($transports, 'ostatus');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user