From: Hypolite Petovan Date: Fri, 20 Nov 2020 13:55:29 +0000 (-0500) Subject: [twitter] Simplify remote self check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=647823769b3fca7f35024979909985ea8708aa31;p=friendica-addons.git [twitter] Simplify remote self check - Adresses https://github.com/friendica/friendica/issues/9252#issuecomment-730851818 --- diff --git a/twitter/twitter.php b/twitter/twitter.php index f70aa141..4066bdec 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1919,7 +1919,7 @@ function twitter_fetchhometimeline(App $a, $uid) $notify = false; - if (($postarray['uri'] == $postarray['thr-parent']) && ($postarray['author-link'] == $postarray['owner-link'])) { + if (empty($postarray['thr-parent'])) { $contact = DBA::selectFirst('contact', [], ['id' => $postarray['contact-id'], 'self' => false]); if (DBA::isResult($contact)) { $notify = Item::isRemoteSelf($contact, $postarray);