make sure returned notice is a repeat, i.e. not a delete activity notice

This commit is contained in:
hannes 2015-11-22 20:28:07 +00:00
parent 1eba33590b
commit 5c4a7a1052

View File

@ -281,7 +281,8 @@ class SharePlugin extends ActivityVerbHandlerPlugin
if ($status['repeated'] === true) {
// Qvitter API wants the "repeated_id" value set too.
$repeated = Notice::pkeyGet(array('profile_id' => $scoped->getID(),
'repeat_of' => $notice->getID()));
'repeat_of' => $notice->getID(),
'verb' => ActivityVerb::SHARE));
$status['repeated_id'] = $repeated->getID();
}
}