From 72105ad639a0a3c3f708314130c0098ed1137ecb Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 11 Aug 2018 22:09:41 +0000 Subject: [PATCH] Remote self on Twitter will now only work with original content --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter/twitter.php b/twitter/twitter.php index d95a1a7a..836592ae 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1673,7 +1673,7 @@ function twitter_fetchhometimeline(App $a, $uid) $notify = false; - if ($postarray['uri'] == $postarray['parent-uri']) { + if (($postarray['uri'] == $postarray['parent-uri']) && ($postarray['author-link'] == $postarray['owner-link'])) { $contact = DBA::selectFirst('contact', [], ['id' => $postarray['contact-id'], 'self' => false]); if (DBA::isResult($contact)) { $notify = Item::isRemoteSelf($contact, $postarray);