Fix regression in OStatus remote group delivery: local group check was bogus in updated Ostatus_profile::localGroupFromUrl()
This commit is contained in:
parent
ebfa8bce27
commit
a9654beb5d
@ -966,7 +966,7 @@ class OStatusPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
$group = User_group::staticGet('uri', $url);
|
$group = User_group::staticGet('uri', $url);
|
||||||
if ($group) {
|
if ($group) {
|
||||||
$local = Local_group::staticGet('id', $group->id);
|
$local = Local_group::staticGet('group_id', $group->id);
|
||||||
if ($local) {
|
if ($local) {
|
||||||
return $group->id;
|
return $group->id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user