mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 10:43:41 +00:00
Twitter: "remote self" posts had been posted with an invalid priority
This commit is contained in:
parent
2df2059dc7
commit
47844cf1b1
1 changed files with 3 additions and 1 deletions
|
@ -1940,7 +1940,9 @@ 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)) {
|
||||||
$notify = Item::isRemoteSelf($contact, $postarray);
|
if (Item::isRemoteSelf($contact, $postarray)) {
|
||||||
|
$notify = PRIORITY_MEDIUM;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue