]> git.mxchange.org Git - friendica-addons.git/commitdiff
Remote self on Twitter will now only work with original content (#701)
authorMichael Vogel <icarus@dabo.de>
Mon, 13 Aug 2018 04:39:51 +0000 (06:39 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 13 Aug 2018 04:39:51 +0000 (06:39 +0200)
twitter/twitter.php

index 92cc6a370c827291042b02c8bfb88ea631159266..0a9322e768559627e324f9a2ef9a2f737427b3b7 100644 (file)
@@ -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);