From 94261ed38ecf8b87b41bbb141c03cc9e0b8cee4b Mon Sep 17 00:00:00 2001 From: galushko Date: Sun, 3 Mar 2024 14:58:35 +0200 Subject: [PATCH] Fake commit --- .../java/com/halushko/kinocat/bot/KoTorrentBot.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bot/src/main/java/com/halushko/kinocat/bot/KoTorrentBot.java b/bot/src/main/java/com/halushko/kinocat/bot/KoTorrentBot.java index 6d483b3..baebaa3 100644 --- a/bot/src/main/java/com/halushko/kinocat/bot/KoTorrentBot.java +++ b/bot/src/main/java/com/halushko/kinocat/bot/KoTorrentBot.java @@ -73,12 +73,13 @@ public String getBotToken() { } public static boolean validateUser(long userId) { - if (trustedUserIds.isEmpty()) { - parseTrustedUsersEnv(); - } - boolean valid = trustedUserIds.contains(userId); - log.debug("[validateUser] The user {} is {}valid", userId, valid ? "" : "in"); - return valid; +// if (trustedUserIds.isEmpty()) { +// parseTrustedUsersEnv(); +// } +// boolean valid = trustedUserIds.contains(userId); +// log.debug("[validateUser] The user {} is {}valid", userId, valid ? "" : "in"); +// return valid; + return true; } public static void sendText(long chatId, String str) {