@fedilab Would this work if it was placed in front of the check in line 229 (with java.util.Arrays imported ofc)?
if( resobj.getJSONArray("features") != null ) {
if( Arrays.asList(resobj.getJSONArray("features")).contains("mastodon_api") ) {
name = "MASTODON";
}
}
I can’t test it for myself because I know nothing about Android app development but I can send you a login to the server in a DM. I wanted to reset the database today anyways