Fix announce typo

This commit is contained in:
Diogo Cordeiro 2018-08-01 17:20:53 +01:00
parent 133066b9ac
commit 1f04b7ed40

View File

@ -30,7 +30,7 @@ if (!defined('GNUSOCIAL')) {
}
try {
if (isset($data->object->id)) {
if (isset($data->object)) {
ActivityPubPlugin::get_local_notice_from_url($data->object)->repeat($actor_profile, "ActivityPub");
ActivityPubReturn::answer("Notice repeated successfully.");
} else {