Skip to content

Commit

Permalink
Fake commit
Browse files Browse the repository at this point in the history
  • Loading branch information
galushko committed Mar 3, 2024
1 parent 016d5b7 commit 94261ed
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bot/src/main/java/com/halushko/kinocat/bot/KoTorrentBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 94261ed

Please sign in to comment.