mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:10:12 +00:00
Reworked contact-id generation
This commit is contained in:
parent
10395429a7
commit
8ddcd8417d
2 changed files with 13 additions and 30 deletions
|
@ -419,8 +419,8 @@ class Processor
|
|||
$item['contact-id'] = Contact::getIdForURL($activity['author'], $receiver, true);
|
||||
}
|
||||
|
||||
if (($receiver != 0) && empty($item['contact-id'])) {
|
||||
$item['contact-id'] = Contact::getIdForURL($activity['author'], 0, true);
|
||||
if (empty($item['contact-id'])) {
|
||||
$item['contact-id'] = $item['author-id'];
|
||||
}
|
||||
|
||||
if (!empty($activity['directmessage'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue