We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 42dff274 authored by mattl's avatar mattl

Put salmon slaps in queues before pushing user Atom feed

parent 67801a55
......@@ -60,12 +60,6 @@ class OStatusQueueHandler extends QueueHandler
return true;
}
if ($notice->isLocal()) {
// Notices generated on remote sites will have already
// been pushed to user's subscribers by their origin sites.
$this->pushUser();
}
foreach ($notice->getAttentionProfiles() as $target) {
common_debug("OSTATUS [{$this->notice->getID()}]: Attention target profile {$target->getNickname()} ({$target->getID()})");
if ($target->isGroup()) {
......@@ -100,6 +94,10 @@ class OStatusQueueHandler extends QueueHandler
}
if ($notice->isLocal()) {
// Notices generated on remote sites will have already
// been pushed to user's subscribers by their origin sites.
$this->pushUser();
try {
$parent = $this->notice->getParent();
foreach($parent->getAttentionProfiles() as $related) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment