Allow all content types on Iceshrimp

It's disabled anyways for new users, and allowing all lowers the chance
of crashes from a previously selected option being missing
This commit is contained in:
Jacocococo 2024-08-19 22:26:11 +02:00
parent 96b992025b
commit 893b88350a
1 changed files with 1 additions and 3 deletions

View File

@ -34,8 +34,6 @@ public enum ContentType {
} }
public boolean supportedByInstance(Instance i) { public boolean supportedByInstance(Instance i) {
if(i.isIceshrimp()) return i.isAkkoma() || i.isIceshrimp() || (this!=BBCODE && this!=MISSKEY_MARKDOWN);
return this==MISSKEY_MARKDOWN || this==UNSPECIFIED;
return i.isAkkoma() || (this!=BBCODE && this!=MISSKEY_MARKDOWN);
} }
} }