Merge pull request #1054 from annando/twitter-priority
Twitter: "remote self" posts had been posted with an invalid priority
This commit is contained in:
commit
895c264bb5
|
@ -1939,8 +1939,8 @@ function twitter_fetchhometimeline(App $a, $uid)
|
||||||
|
|
||||||
if (empty($postarray['thr-parent'])) {
|
if (empty($postarray['thr-parent'])) {
|
||||||
$contact = DBA::selectFirst('contact', [], ['id' => $postarray['contact-id'], 'self' => false]);
|
$contact = DBA::selectFirst('contact', [], ['id' => $postarray['contact-id'], 'self' => false]);
|
||||||
if (DBA::isResult($contact)) {
|
if (DBA::isResult($contact) && Item::isRemoteSelf($contact, $postarray)) {
|
||||||
$notify = Item::isRemoteSelf($contact, $postarray);
|
$notify = PRIORITY_MEDIUM;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user