Remote self on Twitter will now only work with original content (#701)
This commit is contained in:
parent
10086f940d
commit
48e4475ad7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user