correctly mark repeats from Twitter as non-local

This commit is contained in:
Evan Prodromou 2010-09-05 00:25:58 -04:00
parent 1fbc8adf47
commit fdcaf7022c

View File

@ -278,7 +278,8 @@ class TwitterStatusFetcher extends ParallelizingDaemon
$content,
'twitter',
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}");
Notice_to_status::saveNew($repeat->id, $status->id);
return $repeat;