Fix regression in OStatus remote group delivery: local group check was bogus in updated Ostatus_profile::localGroupFromUrl()

This commit is contained in:
Brion Vibber 2010-10-07 10:56:10 -07:00
parent ebfa8bce27
commit a9654beb5d

View File

@ -966,7 +966,7 @@ class OStatusPlugin extends Plugin
{
$group = User_group::staticGet('uri', $url);
if ($group) {
$local = Local_group::staticGet('id', $group->id);
$local = Local_group::staticGet('group_id', $group->id);
if ($local) {
return $group->id;
}