forked from GNUsocial/gnu-social
correctly show <source> for atom feeds
This commit is contained in:
@@ -953,4 +953,16 @@ class OStatusPlugin extends Plugin
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function onStartProfileGetAtomFeed($profile, &$feed)
|
||||
{
|
||||
$oprofile = Ostatus_profile::staticGet('profile_id', $profile->id);
|
||||
|
||||
if (empty($oprofile)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
$feed = $oprofile->feeduri;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user