Twitter: "remote self" posts had been posted with an invalid priority

This commit is contained in:
Michael 2020-12-08 21:55:02 +00:00
parent 2df2059dc7
commit 47844cf1b1

View File

@ -1940,7 +1940,9 @@ function twitter_fetchhometimeline(App $a, $uid)
if (empty($postarray['thr-parent'])) {
$contact = DBA::selectFirst('contact', [], ['id' => $postarray['contact-id'], 'self' => false]);
if (DBA::isResult($contact)) {
$notify = Item::isRemoteSelf($contact, $postarray);
if (Item::isRemoteSelf($contact, $postarray)) {
$notify = PRIORITY_MEDIUM;
}
}
}