forked from GNUsocial/gnu-social
Fix a glitch on AtomPub posting for micro-apps -- hook wasn't returning the new notice back to the calling code.
This commit is contained in:
parent
8844b373b4
commit
fcc4bbde19
@ -447,9 +447,9 @@ abstract class MicroAppPlugin extends Plugin
|
|||||||
$options = array('source' => 'atompub');
|
$options = array('source' => 'atompub');
|
||||||
|
|
||||||
// $user->getProfile() is a Profile
|
// $user->getProfile() is a Profile
|
||||||
$this->saveNoticeFromActivity($activity,
|
$notice = $this->saveNoticeFromActivity($activity,
|
||||||
$user->getProfile(),
|
$user->getProfile(),
|
||||||
$options);
|
$options);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user