Merge pull request #428 from FineFindus/fix/draft-error

fix(StatusDisplayItem): explictly copy filter list
This commit is contained in:
LucasGGamerM
2024-06-16 09:42:38 -03:00
committed by GitHub

View File

@@ -230,7 +230,7 @@ public abstract class StatusDisplayItem{
LegacyFilter applyingFilter=null; LegacyFilter applyingFilter=null;
if(status.filtered!=null){ if(status.filtered!=null){
List<FilterResult> filters=status.filtered; ArrayList<FilterResult> filters= new ArrayList<>(status.filtered);
// Only add client filters if there are no pre-existing status filter // Only add client filters if there are no pre-existing status filter
if(filters.isEmpty()) if(filters.isEmpty())