mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
Found a case where quoted tweets might get missed pulling into twitter cache from backup
This commit is contained in:
parent
b663b99393
commit
5322027e65
@ -54,6 +54,10 @@ module.exports = exports = async function tweets (pages) {
|
|||||||
}
|
}
|
||||||
const tweet = twitterBackup[id];
|
const tweet = twitterBackup[id];
|
||||||
|
|
||||||
|
if (tweet.quoted_status_id_str && !twitterCache[tweet.quoted_status_id_str]) {
|
||||||
|
tweetsNeeded.push(tweet.quoted_status_id_str);
|
||||||
|
}
|
||||||
|
|
||||||
if (tweet) {
|
if (tweet) {
|
||||||
log('Pulled tweet from backup ' + id);
|
log('Pulled tweet from backup ' + id);
|
||||||
twitterCache[id] = tweetparse(twitterBackup[id]);
|
twitterCache[id] = tweetparse(twitterBackup[id]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user