FIX: Consider 100 years suspension as permanent (instead of 500-years suspension) (#13808)

FIX: Consider 100 years suspension as permanent (instead of 500-years suspension) (#13808)

That’ll be consistent with recent changes in UX: suspend forever time period messages by AndrewPrigorshnev · Pull Request #13776 · discourse/discourse · GitHub

diff --git a/app/assets/javascripts/discourse/app/models/user.js b/app/assets/javascripts/discourse/app/models/user.js
index 4b2b4e9..fc28a3b 100644
--- a/app/assets/javascripts/discourse/app/models/user.js
+++ b/app/assets/javascripts/discourse/app/models/user.js
@@ -37,7 +37,7 @@ export const SECOND_FACTOR_METHODS = {
   SECURITY_KEY: 3,
 };
 
-const isForever = (dt) => moment().diff(dt, "years") < -500;
+const isForever = (dt) => moment().diff(dt, "years") < -100;
 
 let userFields = [
   "bio_raw",

GitHub sha: d9faae483d23637a057abc36bef1b66ac519ce03

This commit appears in #13808 which was approved by ZogStriP. It was merged by AndrewPrigorshnev.