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

pull/1054/head
Michael 2020-12-08 21:55:02 +00:00
parent 2df2059dc7
commit 47844cf1b1
1 changed files with 3 additions and 1 deletions

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