forked from GNUsocial/gnu-social
return saved notice to AtomPub for Bookmarks
This commit is contained in:
parent
1cc8be4d8b
commit
4465724ed3
@ -513,11 +513,11 @@ class BookmarkPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
function onStartAtomPubNewActivity(&$activity, $user)
|
||||
function onStartAtomPubNewActivity(&$activity, $user, &$notice)
|
||||
{
|
||||
if (self::_isPostBookmark($activity)) {
|
||||
$options = array('source' => 'atompub');
|
||||
self::_postBookmark($user->getProfile(), $activity, $options);
|
||||
$notice = self::_postBookmark($user->getProfile(), $activity, $options);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user