<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
}
if (!empty($contact['gsid'])) {
- GServer::setReachableById($contact['gsid']);
+ GServer::setReachableById($contact['gsid'], Protocol::DFRN);
}
if (!empty($res->message)) {
// This is my contact on another system, but it's really me.
// Turn this into a wall post.
$notify = Item::isRemoteSelf($importer, $item);
+ $item['wall'] = (bool)$notify;
$posted_id = Item::insert($item, $notify);