Store the protocol as well

This commit is contained in:
Michael 2020-02-28 09:25:41 +00:00
parent 26cffd379a
commit bcb3a81988
1 changed files with 2 additions and 1 deletions

View File

@ -448,8 +448,9 @@ class Processor
$item['owner-link'] = $activity['actor'];
$item['owner-id'] = Contact::getIdForURL($activity['actor'], 0, true);
if (!empty($activity['raw'])) {
if (!empty($activity['raw']) && isset($activity['protocol'])) {
$item['source'] = $activity['raw'];
$item['protocol'] = $activity['protocol'];
}
$isForum = false;