]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Protocol/ActivityPub/Processor.php
authorArtur Weigandt <Art4@users.noreply.github.com>
Mon, 18 Nov 2024 07:38:12 +0000 (08:38 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Nov 2024 07:38:12 +0000 (08:38 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Protocol/ActivityPub/Processor.php

index b5aaaa5d33ddfc3d5409d9054c7a8efe80df0880..7eeae65ae5399a0f6c449ff6377d11aad78e66b8 100644 (file)
@@ -2336,7 +2336,6 @@ class Processor
 
                if (!empty($activity['object_actor'])) {
                        $uid      = User::getIdForURL($activity['object_actor']);
-                       $check_id = false;
                } elseif (!empty($activity['receiver']) && (count($activity['receiver']) == 1)) {
                        $uid      = array_shift($activity['receiver']);
                        $check_id = true;