fix a crash

maths
Thomas 2 years ago
parent 4ec3a430bd
commit e0953ff5af

@ -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;
}
}

Loading…
Cancel
Save