mirror of
https://codeberg.org/tom79/Fedilab
synced 2025-01-05 23:37:48 +01:00
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);
|
||||
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…
Reference in New Issue
Block a user