mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:50:17 +00:00
Revert "Reworked contact-id generation"
This commit is contained in:
parent
e8459cce34
commit
2e6b72ba62
2 changed files with 31 additions and 14 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue