mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 03:03:42 +00:00
Remote self on Twitter will now only work with original content (#701)
This commit is contained in:
parent
10086f940d
commit
48e4475ad7
1 changed files with 1 additions and 1 deletions
|
@ -1674,7 +1674,7 @@ function twitter_fetchhometimeline(App $a, $uid)
|
||||||
|
|
||||||
$notify = false;
|
$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]);
|
$contact = DBA::selectFirst('contact', [], ['id' => $postarray['contact-id'], 'self' => false]);
|
||||||
if (DBA::isResult($contact)) {
|
if (DBA::isResult($contact)) {
|
||||||
$notify = Item::isRemoteSelf($contact, $postarray);
|
$notify = Item::isRemoteSelf($contact, $postarray);
|
||||||
|
|
Loading…
Reference in a new issue