fix a crash

This commit is contained in:
Thomas 2022-12-16 09:15:40 +01:00
parent 4ec3a430bd
commit e0953ff5af
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ public class MutedAccounts implements Serializable {
MutedAccounts mutedAccounts = getMutedAccount(forAccount);
if (mutedAccounts != null && mutedAccounts.accounts != null) {
for (Account account : mutedAccounts.accounts) {
if (account.id.equals(target.id)) {
if (account != null && target != null && account.id.equals(target.id)) {
return true;
}
}