non-existent poco
This commit is contained in:
parent
d28f726c5c
commit
e4085087f1
@ -505,6 +505,7 @@ class BlacklistPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($actor->poco)) {
|
||||
$nickname = strtolower($actor->poco->preferredUsername);
|
||||
|
||||
if (!empty($nickname)) {
|
||||
@ -515,6 +516,7 @@ class BlacklistPlugin extends Plugin
|
||||
throw new ClientException($msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user