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

Merged
annando merged 2 commits from remote-self2 into develop 2018-08-13 06:39:52 +02:00
Showing only changes of commit e4dfe31914 - Show all commits

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