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
commit d9ce0e6d31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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())