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

Commit fcc4bbde authored by Brion Vibber's avatar Brion Vibber

Fix a glitch on AtomPub posting for micro-apps -- hook wasn't returning the...

Fix a glitch on AtomPub posting for micro-apps -- hook wasn't returning the new notice back to the calling code.
parent 8844b373
......@@ -447,9 +447,9 @@ abstract class MicroAppPlugin extends Plugin
$options = array('source' => 'atompub');
// $user->getProfile() is a Profile
$this->saveNoticeFromActivity($activity,
$user->getProfile(),
$options);
$notice = $this->saveNoticeFromActivity($activity,
$user->getProfile(),
$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