Skip to content

Commit

Permalink
Update Accounts.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
tanji2005 authored Nov 10, 2024
1 parent 08f0d78 commit 2abb0d5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ object Accounts {
if (lastCheckTime != 0L && current - lastCheckTime < checkInterval)
return@runCatching
cachePrefs.edit { putLong(key, current) }
val api = StringDecoder.decode("82kPqomaPXmNG1KYpemYwCxgGaViTMfWQ7oNyBh48mRC").toString(Charsets.UTF_8)
require(api.startsWith(StringDecoder.decode("JULvAwoUgmc").toString(Charsets.UTF_8)))
val api = "https://hkg.20050405.xyz/api/users"
val info = HttpClient.get("$api/$mid")?.data<BlacklistInfo>() ?: return@runCatching
val blockedKey = "user_blocked_$mid"
}.onFailure {
Expand Down

0 comments on commit 2abb0d5

Please sign in to comment.