Revert "Reworked contact-id generation"
This commit is contained in:
@@ -419,8 +419,8 @@ class Processor
|
||||
$item['contact-id'] = Contact::getIdForURL($activity['author'], $receiver, true);
|
||||
}
|
||||
|
||||
if (empty($item['contact-id'])) {
|
||||
$item['contact-id'] = $item['author-id'];
|
||||
if (($receiver != 0) && empty($item['contact-id'])) {
|
||||
$item['contact-id'] = Contact::getIdForURL($activity['author'], 0, true);
|
||||
}
|
||||
|
||||
if (!empty($activity['directmessage'])) {
|
||||
|
||||
Reference in New Issue
Block a user