fix a crash
This commit is contained in:
parent
4ec3a430bd
commit
e0953ff5af
|
@ -197,7 +197,7 @@ public class MutedAccounts implements Serializable {
|
||||||
MutedAccounts mutedAccounts = getMutedAccount(forAccount);
|
MutedAccounts mutedAccounts = getMutedAccount(forAccount);
|
||||||
if (mutedAccounts != null && mutedAccounts.accounts != null) {
|
if (mutedAccounts != null && mutedAccounts.accounts != null) {
|
||||||
for (Account account : mutedAccounts.accounts) {
|
for (Account account : mutedAccounts.accounts) {
|
||||||
if (account.id.equals(target.id)) {
|
if (account != null && target != null && account.id.equals(target.id)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue