From: Michael Vogel Date: Mon, 13 Aug 2018 04:39:51 +0000 (+0200) Subject: Remote self on Twitter will now only work with original content (#701) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=48e4475ad75219698329b52762fbdb3c79775f49;p=friendica-addons.git Remote self on Twitter will now only work with original content (#701) --- 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);