Remote self on Twitter will now only work with original content (#701)

This commit is contained in:
Michael Vogel 2018-08-13 06:39:51 +02:00 committed by Tobias Diekershoff
parent 10086f940d
commit 48e4475ad7
1 changed files with 1 additions and 1 deletions

View 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);