We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 4465724e authored by Evan Prodromou's avatar Evan Prodromou

return saved notice to AtomPub for Bookmarks

parent 1cc8be4d
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment