forked from GNUsocial/gnu-social
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);
|
$nickname = strtolower($actor->poco->preferredUsername);
|
||||||
|
|
||||||
if (!empty($nickname)) {
|
if (!empty($nickname)) {
|
||||||
@ -515,6 +516,7 @@ class BlacklistPlugin extends Plugin
|
|||||||
throw new ClientException($msg);
|
throw new ClientException($msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user