correctly mark repeats from Twitter as non-local
This commit is contained in:
parent
e20dc9fec3
commit
9847bffe99
|
@ -278,7 +278,8 @@ class TwitterStatusFetcher extends ParallelizingDaemon
|
||||||
$content,
|
$content,
|
||||||
'twitter',
|
'twitter',
|
||||||
array('repeat_of' => $original->id,
|
array('repeat_of' => $original->id,
|
||||||
'uri' => $statusUri));
|
'uri' => $statusUri,
|
||||||
|
'is_local' => Notice::GATEWAY));
|
||||||
common_log(LOG_INFO, "Saved {$repeat->id} as a repeat of {$original->id}");
|
common_log(LOG_INFO, "Saved {$repeat->id} as a repeat of {$original->id}");
|
||||||
Notice_to_status::saveNew($repeat->id, $status->id);
|
Notice_to_status::saveNew($repeat->id, $status->id);
|
||||||
return $repeat;
|
return $repeat;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user