mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 18:03:46 +00:00
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