From 647823769b3fca7f35024979909985ea8708aa31 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 20 Nov 2020 08:55:29 -0500 Subject: [PATCH] [twitter] Simplify remote self check - Adresses https://github.com/friendica/friendica/issues/9252#issuecomment-730851818 --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5