forked from friendica/friendica-addons
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
1 changed files with 2 additions and 2 deletions
|
@ -1939,8 +1939,8 @@ 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 (DBA::isResult($contact) && Item::isRemoteSelf($contact, $postarray)) {
|
||||
$notify = PRIORITY_MEDIUM;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue