forked from GNUsocial/gnu-social
Don't try to broadcast the notice if something went wrong.
This commit is contained in:
parent
0177b386d8
commit
eb0a5977ff
@ -213,7 +213,9 @@ class TwitterStatusFetcher extends ParallelizingDaemon
|
|||||||
|
|
||||||
$notice = $this->saveStatus($status, $flink);
|
$notice = $this->saveStatus($status, $flink);
|
||||||
|
|
||||||
common_broadcast_notice($notice);
|
if (!empty($notice)) {
|
||||||
|
common_broadcast_notice($notice);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Okay, record the time we synced with Twitter for posterity
|
// Okay, record the time we synced with Twitter for posterity
|
||||||
|
Loading…
Reference in New Issue
Block a user