mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:43:40 +00:00
Simplified code
This commit is contained in:
parent
47844cf1b1
commit
3c18a3eedd
1 changed files with 2 additions and 4 deletions
|
@ -1939,10 +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)) {
|
||||||
if (Item::isRemoteSelf($contact, $postarray)) {
|
$notify = PRIORITY_MEDIUM;
|
||||||
$notify = PRIORITY_MEDIUM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue