forked from friendica/friendica-addons
Twitter: "remote self" posts had been posted with an invalid priority
This commit is contained in:
parent
2df2059dc7
commit
47844cf1b1
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue