fix: login with some pleroma instances. Fixes #114

This commit is contained in:
LucasGGamerM 2023-03-11 19:47:29 -03:00
parent 9a991b8f33
commit 811304c0c7
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class MastodonAPIController{
final boolean isBad = host == null || badDomains.stream().anyMatch(h -> h.equalsIgnoreCase(host) || host.toLowerCase().endsWith("." + h));
thread.postRunnable(()->{
try{
if (isBad) throw new IllegalArgumentException();
// if (isBad) throw new IllegalArgumentException();
if(req.canceled)
return;
Request.Builder builder=new Request.Builder()