From 48e4475ad75219698329b52762fbdb3c79775f49 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 13 Aug 2018 06:39:51 +0200 Subject: [PATCH] Remote self on Twitter will now only work with original content (#701) --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter/twitter.php b/twitter/twitter.php index 92cc6a37..0a9322e7 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1674,7 +1674,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); -- 2.39.5