Refactored post fetching. Cleaner code that will now fetch archived posts even if the user no longer exists on reddit. Expanded gfycat URL detection.

This commit is contained in:
2018-05-22 22:55:50 +02:00
parent 67378d4c7a
commit edf77e259b
7 changed files with 49 additions and 42 deletions

View File

@@ -11,6 +11,7 @@ function curateUser(user) {
gold: user.is_gold,
verified: user.verified,
verifiedEmail: user.has_verified_email,
fallback: false
};
if(user.subreddit) {