mirror of
https://github.com/friendica/friendica
synced 2025-04-23 21:50:10 +00:00
$id in Transmitter::sendContactAccept() is a string, see Introduction class
This commit is contained in:
parent
bf600905d3
commit
0ddb315b23
2 changed files with 7 additions and 5 deletions
|
@ -1267,8 +1267,10 @@ class Processor
|
|||
Contact::update(['hub-verify' => $activity['id'], 'protocol' => Protocol::ACTIVITYPUB], ['id' => $cid]);
|
||||
}
|
||||
|
||||
$item = ['author-id' => Contact::getIdForURL($activity['actor']),
|
||||
'author-link' => $activity['actor']];
|
||||
$item = [
|
||||
'author-id' => Contact::getIdForURL($activity['actor']),
|
||||
'author-link' => $activity['actor'],
|
||||
];
|
||||
|
||||
// Ensure that the contact has got the right network type
|
||||
self::switchContact($item['author-id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue