forked from friendica/friendica-addons
The priority is now a class constant
This commit is contained in:
parent
1fc7334639
commit
3a2065b505
2 changed files with 2 additions and 2 deletions
|
@ -180,5 +180,5 @@ function ifttt_message($uid, $item)
|
||||||
$link = hash('ripemd128', $item['msg']);
|
$link = hash('ripemd128', $item['msg']);
|
||||||
}
|
}
|
||||||
|
|
||||||
Post\Delayed::add($link, $post, Worker::PRIORITY_MEDIUM, Post\Delayed::PREPARED);
|
Post\Delayed::add($link, $post, Worker::PRIORITY_MEDIUM, Post\Delayed::UNPREPARED);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1363,7 +1363,7 @@ function twitter_fetchtimeline(int $uid): void
|
||||||
|
|
||||||
Logger::info('Posting mirror post', ['twitter-id' => $post->id_str, 'uid' => $uid]);
|
Logger::info('Posting mirror post', ['twitter-id' => $post->id_str, 'uid' => $uid]);
|
||||||
|
|
||||||
Post\Delayed::add($mirrorpost['extid'], $mirrorpost, Worker::PRIORITY_MEDIUM, Post\Delayed::PREPARED);
|
Post\Delayed::add($mirrorpost['extid'], $mirrorpost, Worker::PRIORITY_MEDIUM, Post\Delayed::UNPREPARED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DI::pConfig()->set($uid, 'twitter', 'lastid', $lastid);
|
DI::pConfig()->set($uid, 'twitter', 'lastid', $lastid);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue