From 5854407ab4aba08fdae5c4e74ad12fb98090be10 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 3 Feb 2024 04:10:59 +0900 Subject: feat(modules): add nitter --- .../nitter/0001-HACK-allow-non-guest-account.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 modules/services/nitter/0001-HACK-allow-non-guest-account.patch (limited to 'modules/services/nitter/0001-HACK-allow-non-guest-account.patch') diff --git a/modules/services/nitter/0001-HACK-allow-non-guest-account.patch b/modules/services/nitter/0001-HACK-allow-non-guest-account.patch new file mode 100644 index 0000000..855accb --- /dev/null +++ b/modules/services/nitter/0001-HACK-allow-non-guest-account.patch @@ -0,0 +1,26 @@ +From 197074221a4f6ea58362d8b2523dc4b11705c7b4 Mon Sep 17 00:00:00 2001 +From: sefidel +Date: Fri, 2 Feb 2024 23:32:13 +0900 +Subject: [PATCH] HACK: allow non-guest account + +Signed-off-by: sefidel +--- + src/auth.nim | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/auth.nim b/src/auth.nim +index b288c50..7acb7c3 100644 +--- a/src/auth.nim ++++ b/src/auth.nim +@@ -202,7 +202,7 @@ proc initAccountPool*(cfg: Config; path: string) = + quit 1 + + let accountsPrePurge = accountPool.len +- accountPool.keepItIf(not it.hasExpired) ++ # accountPool.keepItIf(not it.hasExpired) + + log "Successfully added ", accountPool.len, " valid accounts." + if accountsPrePurge > accountPool.len: +-- +2.43.0 + -- cgit 1.4.1