fix(fediverse): access to URI in 'object' instead of going down with '->id' in delete case

This commit is contained in:
Andreas Grupp 2025-11-03 10:35:35 +01:00 committed by Yassine Doghri
commit 89d0fe4a7e

View file

@ -135,7 +135,7 @@ class ActorController extends Controller
->setJSON([]);
case 'Delete':
$postToDelete = model('PostModel', false)
->getPostByUri($payload->object->id);
->getPostByUri($payload->object);
if ($postToDelete instanceof Post) {
model('PostModel', false)