Merge pull request #7451 from annando/ap-contact-id

Fix: The field "contact-id" now contains the correct contact id again
This commit is contained in:
Hypolite Petovan 2019-07-30 09:23:43 -04:00 committed by GitHub
commit 10395429a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -415,9 +415,7 @@ class Processor
if ($isForum) {
$item['contact-id'] = Contact::getIdForURL($activity['actor'], $receiver, true);
}
if (empty($item['contact-id'])) {
} else {
$item['contact-id'] = Contact::getIdForURL($activity['author'], $receiver, true);
}